Class AddOn
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.AddOn
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AddOn.Builder,AddOn>
@Generated("software.amazon.awssdk:codegen") public final class AddOn extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AddOn.Builder,AddOn>
Describes an add-on that is enabled for an Amazon Lightsail resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAddOn.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddOn.Builderbuilder()Stringduration()The amount of idle time in minutes after which your virtual computer will automatically stop.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the add-on.StringnextSnapshotTimeOfDay()The next daily time an automatic snapshot will be created.List<SdkField<?>>sdkFields()static Class<? extends AddOn.Builder>serializableBuilderClass()StringsnapshotTimeOfDay()The daily time when an automatic snapshot is created.Stringstatus()The status of the add-on.Stringthreshold()The trigger threshold of the action.AddOn.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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:00format, 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:00format, 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:00format, 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:00format, 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.
-
toBuilder
public AddOn.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AddOn.Builder,AddOn>
-
builder
public static AddOn.Builder builder()
-
serializableBuilderClass
public static Class<? extends AddOn.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-