Class AddOn

    • Method Detail

      • name

        public final String name()

        The name of the add-on.

        Returns:
        The name of the add-on.
      • status

        public final String status()

        The status of the add-on.

        Returns:
        The status of the add-on.
      • snapshotTimeOfDay

        public final String snapshotTimeOfDay()

        The daily time when an automatic snapshot is created.

        The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

        The snapshot is automatically created between the time shown and up to 45 minutes after.

        Returns:
        The daily time when an automatic snapshot is created.

        The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

        The snapshot is automatically created between the time shown and up to 45 minutes after.

      • nextSnapshotTimeOfDay

        public final String nextSnapshotTimeOfDay()

        The next daily time an automatic snapshot will be created.

        The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

        The snapshot is automatically created between the time shown and up to 45 minutes after.

        Returns:
        The next daily time an automatic snapshot will be created.

        The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

        The snapshot is automatically created between the time shown and up to 45 minutes after.

      • threshold

        public final String threshold()

        The trigger threshold of the action.

        This add-on only applies to Lightsail for Research resources.

        Returns:
        The trigger threshold of the action.

        This add-on only applies to Lightsail for Research resources.

      • duration

        public final String duration()

        The amount of idle time in minutes after which your virtual computer will automatically stop.

        This add-on only applies to Lightsail for Research resources.

        Returns:
        The amount of idle time in minutes after which your virtual computer will automatically stop.

        This add-on only applies to Lightsail for Research resources.

      • serializableBuilderClass

        public static Class<? extends AddOn.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)