Interface CreateResourceSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateResourceSnapshotRequest.Builder,
,CreateResourceSnapshotRequest> PartnerCentralSellingRequest.Builder
,SdkBuilder<CreateResourceSnapshotRequest.Builder,
,CreateResourceSnapshotRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateResourceSnapshotRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog where the snapshot is created.clientToken
(String clientToken) Specifies a unique, client-generated UUID to ensure that the request is handled exactly once.engagementIdentifier
(String engagementIdentifier) The unique identifier of the engagement associated with this snapshot.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceIdentifier
(String resourceIdentifier) The unique identifier of the specific resource to be snapshotted.resourceSnapshotTemplateIdentifier
(String resourceSnapshotTemplateIdentifier) The name of the template that defines the schema for the snapshot.resourceType
(String resourceType) Specifies the type of resource for which the snapshot is being created.resourceType
(ResourceType resourceType) Specifies the type of resource for which the snapshot is being created.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
catalog
Specifies the catalog where the snapshot is created. Valid values are
AWS
andSandbox
.- Parameters:
catalog
- Specifies the catalog where the snapshot is created. Valid values areAWS
andSandbox
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate snapshot creations.
- Parameters:
clientToken
- Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate snapshot creations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementIdentifier
The unique identifier of the engagement associated with this snapshot. This field links the snapshot to a specific engagement context.
- Parameters:
engagementIdentifier
- The unique identifier of the engagement associated with this snapshot. This field links the snapshot to a specific engagement context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
The unique identifier of the specific resource to be snapshotted. The format and constraints of this identifier depend on the
ResourceType
specified. For example: ForOpportunity
type, it will be an opportunity ID.- Parameters:
resourceIdentifier
- The unique identifier of the specific resource to be snapshotted. The format and constraints of this identifier depend on theResourceType
specified. For example: ForOpportunity
type, it will be an opportunity ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSnapshotTemplateIdentifier
CreateResourceSnapshotRequest.Builder resourceSnapshotTemplateIdentifier(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
.- Parameters:
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 specifiedResourceType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateResourceSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateResourceSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-