Class SetupHistoryResource
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.SetupHistoryResource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SetupHistoryResource.Builder,SetupHistoryResource>
@Generated("software.amazon.awssdk:codegen") public final class SetupHistoryResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SetupHistoryResource.Builder,SetupHistoryResource>
The Lightsail resource that
SetupHistorywas ran on.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSetupHistoryResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the Lightsail resource.static SetupHistoryResource.Builderbuilder()InstantcreatedAt()The timestamp for when the resource was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceLocationlocation()Returns the value of the Location property for this object.Stringname()The name of the Lightsail resource.ResourceTyperesourceType()The Lightsail resource type.StringresourceTypeAsString()The Lightsail resource type.List<SdkField<?>>sdkFields()static Class<? extends SetupHistoryResource.Builder>serializableBuilderClass()SetupHistoryResource.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 Lightsail resource.
- Returns:
- The name of the Lightsail resource.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the Lightsail resource.
- Returns:
- The Amazon Resource Name (ARN) of the Lightsail resource.
-
createdAt
public final Instant createdAt()
The timestamp for when the resource was created.
- Returns:
- The timestamp for when the resource was created.
-
location
public final ResourceLocation location()
Returns the value of the Location property for this object.- Returns:
- The value of the Location property for this object.
-
resourceType
public final ResourceType resourceType()
The Lightsail resource type. For example,
Instance.If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The Lightsail resource type. For example,
Instance. - See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The Lightsail resource type. For example,
Instance.If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The Lightsail resource type. For example,
Instance. - See Also:
ResourceType
-
toBuilder
public SetupHistoryResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SetupHistoryResource.Builder,SetupHistoryResource>
-
builder
public static SetupHistoryResource.Builder builder()
-
serializableBuilderClass
public static Class<? extends SetupHistoryResource.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.
-
-