Class CreateResourceSnapshotRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest
-
- software.amazon.awssdk.services.partnercentralselling.model.CreateResourceSnapshotRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateResourceSnapshotRequest.Builder,CreateResourceSnapshotRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateResourceSnapshotRequest extends PartnerCentralSellingRequest implements ToCopyableBuilder<CreateResourceSnapshotRequest.Builder,CreateResourceSnapshotRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateResourceSnapshotRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateResourceSnapshotRequest.Builderbuilder()Stringcatalog()Specifies the catalog where the snapshot is created.StringclientToken()Specifies a unique, client-generated UUID to ensure that the request is handled exactly once.StringengagementIdentifier()The unique identifier of the engagement associated with this snapshot.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringresourceIdentifier()The unique identifier of the specific resource to be snapshotted.StringresourceSnapshotTemplateIdentifier()The name of the template that defines the schema for the snapshot.ResourceTyperesourceType()Specifies the type of resource for which the snapshot is being created.StringresourceTypeAsString()Specifies the type of resource for which the snapshot is being created.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateResourceSnapshotRequest.Builder>serializableBuilderClass()CreateResourceSnapshotRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
catalog
public final String catalog()
Specifies the catalog where the snapshot is created. Valid values are
AWSandSandbox.- Returns:
- Specifies the catalog where the snapshot is created. Valid values are
AWSandSandbox.
-
clientToken
public final String clientToken()
Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate snapshot creations.
- Returns:
- Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate snapshot creations.
-
engagementIdentifier
public final String engagementIdentifier()
The unique identifier of the engagement associated with this snapshot. This field links the snapshot to a specific engagement context.
- Returns:
- The unique identifier of the engagement associated with this snapshot. This field links the snapshot to a specific engagement context.
-
resourceIdentifier
public final String resourceIdentifier()
The unique identifier of the specific resource to be snapshotted. The format and constraints of this identifier depend on the
ResourceTypespecified. For example: ForOpportunitytype, it will be an opportunity ID.- Returns:
- The unique identifier of the specific resource to be snapshotted. The format and constraints of this
identifier depend on the
ResourceTypespecified. For example: ForOpportunitytype, it will be an opportunity ID.
-
resourceSnapshotTemplateIdentifier
public final String resourceSnapshotTemplateIdentifier()
The name of the template that defines the schema for the snapshot. This template determines which subset of the resource data will be included in the snapshot. Must correspond to an existing and valid template for the specified
ResourceType.- Returns:
- The name of the template that defines the schema for the snapshot. This template determines which subset
of the resource data will be included in the snapshot. Must correspond to an existing and valid template
for the specified
ResourceType.
-
resourceType
public final ResourceType resourceType()
Specifies the type of resource for which the snapshot is being created. This field determines the structure and content of the snapshot. Must be one of the supported resource types, such as:
Opportunity.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:
- Specifies the type of resource for which the snapshot is being created. This field determines the
structure and content of the snapshot. Must be one of the supported resource types, such as:
Opportunity. - See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
Specifies the type of resource for which the snapshot is being created. This field determines the structure and content of the snapshot. Must be one of the supported resource types, such as:
Opportunity.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:
- Specifies the type of resource for which the snapshot is being created. This field determines the
structure and content of the snapshot. Must be one of the supported resource types, such as:
Opportunity. - See Also:
ResourceType
-
toBuilder
public CreateResourceSnapshotRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateResourceSnapshotRequest.Builder,CreateResourceSnapshotRequest>- Specified by:
toBuilderin classPartnerCentralSellingRequest
-
builder
public static CreateResourceSnapshotRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateResourceSnapshotRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-