Class ResourceSnapshotSummary
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.model.ResourceSnapshotSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceSnapshotSummary.Builder,ResourceSnapshotSummary>
@Generated("software.amazon.awssdk:codegen") public final class ResourceSnapshotSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceSnapshotSummary.Builder,ResourceSnapshotSummary>
Provides a concise summary of a resource snapshot, including its unique identifier and version information. This structure is used to quickly reference and identify specific versions of resource snapshots.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceSnapshotSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the snapshot.static ResourceSnapshotSummary.Builderbuilder()StringcreatedBy()The AWS account ID of the entity that owns the resource from which the snapshot was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceId()The identifier of the specific resource snapshotted.StringresourceSnapshotTemplateName()The name of the template used to create the snapshot.ResourceTyperesourceType()The type of resource snapshotted.StringresourceTypeAsString()The type of resource snapshotted.Integerrevision()The revision number of the snapshot.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ResourceSnapshotSummary.Builder>serializableBuilderClass()ResourceSnapshotSummary.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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the snapshot. This globally unique identifier can be used for cross-service references and in IAM policies.
- Returns:
- The Amazon Resource Name (ARN) of the snapshot. This globally unique identifier can be used for cross-service references and in IAM policies.
-
createdBy
public final String createdBy()
The AWS account ID of the entity that owns the resource from which the snapshot was created.
- Returns:
- The AWS account ID of the entity that owns the resource from which the snapshot was created.
-
resourceId
public final String resourceId()
The identifier of the specific resource snapshotted. The format might vary depending on the ResourceType.
- Returns:
- The identifier of the specific resource snapshotted. The format might vary depending on the ResourceType.
-
resourceSnapshotTemplateName
public final String resourceSnapshotTemplateName()
The name of the template used to create the snapshot.
- Returns:
- The name of the template used to create the snapshot.
-
resourceType
public final ResourceType resourceType()
The type of resource snapshotted.
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 type of resource snapshotted.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The type of resource snapshotted.
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 type of resource snapshotted.
- See Also:
ResourceType
-
revision
public final Integer revision()
The revision number of the snapshot. This integer value is incremented each time the snapshot is updated, allowing for version tracking of the resource snapshot.
- Returns:
- The revision number of the snapshot. This integer value is incremented each time the snapshot is updated, allowing for version tracking of the resource snapshot.
-
toBuilder
public ResourceSnapshotSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceSnapshotSummary.Builder,ResourceSnapshotSummary>
-
builder
public static ResourceSnapshotSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceSnapshotSummary.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-