Class GetResourceSnapshotResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse
-
- software.amazon.awssdk.services.partnercentralselling.model.GetResourceSnapshotResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetResourceSnapshotResponse.Builder,GetResourceSnapshotResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetResourceSnapshotResponse extends PartnerCentralSellingResponse implements ToCopyableBuilder<GetResourceSnapshotResponse.Builder,GetResourceSnapshotResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetResourceSnapshotResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.static GetResourceSnapshotResponse.Builderbuilder()Stringcatalog()The catalog in which the snapshot was created.InstantcreatedAt()The timestamp when the snapshot was created, in ISO 8601 format (e.g., "2023-06-01T14:30:00Z").StringcreatedBy()The AWS account ID of the principal (user or role) who created the snapshot.StringengagementId()The identifier of the engagement associated with this snapshot.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceSnapshotPayloadpayload()Returns the value of the Payload property for this object.StringresourceId()The identifier of the specific resource that was snapshotted.StringresourceSnapshotTemplateName()The name of the view used for this snapshot.ResourceTyperesourceType()The type of the resource that was snapshotted.StringresourceTypeAsString()The type of the resource that was snapshotted.Integerrevision()The revision number of this snapshot.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetResourceSnapshotResponse.Builder>serializableBuilderClass()GetResourceSnapshotResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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) that uniquely identifies the resource snapshot.
- Returns:
- The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.
-
catalog
public final String catalog()
The catalog in which the snapshot was created. Matches the Catalog specified in the request.
- Returns:
- The catalog in which the snapshot was created. Matches the Catalog specified in the request.
-
createdAt
public final Instant createdAt()
The timestamp when the snapshot was created, in ISO 8601 format (e.g., "2023-06-01T14:30:00Z"). This allows for precise tracking of when the snapshot was taken.
- Returns:
- The timestamp when the snapshot was created, in ISO 8601 format (e.g., "2023-06-01T14:30:00Z"). This allows for precise tracking of when the snapshot was taken.
-
createdBy
public final String createdBy()
The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot.
- Returns:
- The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot.
-
engagementId
public final String engagementId()
The identifier of the engagement associated with this snapshot. Matches the EngagementIdentifier specified in the request.
- Returns:
- The identifier of the engagement associated with this snapshot. Matches the EngagementIdentifier specified in the request.
-
payload
public final ResourceSnapshotPayload payload()
Returns the value of the Payload property for this object.- Returns:
- The value of the Payload property for this object.
-
resourceId
public final String resourceId()
The identifier of the specific resource that was snapshotted. Matches the ResourceIdentifier specified in the request.
- Returns:
- The identifier of the specific resource that was snapshotted. Matches the ResourceIdentifier specified in the request.
-
resourceSnapshotTemplateName
public final String resourceSnapshotTemplateName()
The name of the view used for this snapshot. This is the same as the template name.
- Returns:
- The name of the view used for this snapshot. This is the same as the template name.
-
resourceType
public final ResourceType resourceType()
The type of the resource that was snapshotted. Matches the ResourceType specified in the request.
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 the resource that was snapshotted. Matches the ResourceType specified in the request.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The type of the resource that was snapshotted. Matches the ResourceType specified in the request.
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 the resource that was snapshotted. Matches the ResourceType specified in the request.
- See Also:
ResourceType
-
revision
public final Integer revision()
The revision number of this snapshot. This is a positive integer that is sequential and unique within the context of a resource view.
- Returns:
- The revision number of this snapshot. This is a positive integer that is sequential and unique within the context of a resource view.
-
toBuilder
public GetResourceSnapshotResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetResourceSnapshotResponse.Builder,GetResourceSnapshotResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetResourceSnapshotResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetResourceSnapshotResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-