Interface GetResourceSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetResourceSnapshotRequest.Builder,,GetResourceSnapshotRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<GetResourceSnapshotRequest.Builder,,GetResourceSnapshotRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetResourceSnapshotRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog related to the request.engagementIdentifier(String engagementIdentifier) The unique identifier of the engagement associated with the 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 that was snapshotted.resourceSnapshotTemplateIdentifier(String resourceSnapshotTemplateIdentifier) he name of the template that defines the schema for the snapshot.resourceType(String resourceType) Specifies the type of resource that was snapshotted.resourceType(ResourceType resourceType) Specifies the type of resource that was snapshotted.Specifies which revision of the snapshot to retrieve.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
catalog
Specifies the catalog related to the request. Valid values are:
-
AWS: Retrieves the snapshot from the production AWS environment.
-
Sandbox: Retrieves the snapshot from a sandbox environment used for testing or development purposes.
- Parameters:
catalog- Specifies the catalog related to the request. Valid values are:-
AWS: Retrieves the snapshot from the production AWS environment.
-
Sandbox: Retrieves the snapshot from a sandbox environment used for testing or development purposes.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
engagementIdentifier
The unique identifier of the engagement associated with the snapshot. This field links the snapshot to a specific engagement context.
- Parameters:
engagementIdentifier- The unique identifier of the engagement associated with the 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.
-
resourceType
Specifies the type of resource that was snapshotted. This field determines the structure and content of the snapshot payload. Valid value includes:
Opportunity: For opportunity-related data.- Parameters:
resourceType- Specifies the type of resource that was snapshotted. This field determines the structure and content of the snapshot payload. Valid value includes:Opportunity: For opportunity-related data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
Specifies the type of resource that was snapshotted. This field determines the structure and content of the snapshot payload. Valid value includes:
Opportunity: For opportunity-related data.- Parameters:
resourceType- Specifies the type of resource that was snapshotted. This field determines the structure and content of the snapshot payload. Valid value includes:Opportunity: For opportunity-related data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceIdentifier
The unique identifier of the specific resource that was snapshotted. The format and constraints of this identifier depend on the ResourceType specified. For
Opportunitytype, it will be anopportunity ID- Parameters:
resourceIdentifier- The unique identifier of the specific resource that was snapshotted. The format and constraints of this identifier depend on the ResourceType specified. ForOpportunitytype, it will be anopportunity ID- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSnapshotTemplateIdentifier
GetResourceSnapshotRequest.Builder resourceSnapshotTemplateIdentifier(String resourceSnapshotTemplateIdentifier) he name of the template that defines the schema for the snapshot. This template determines which subset of the resource data is included in the snapshot and must correspond to an existing and valid template for the specified
ResourceType.- Parameters:
resourceSnapshotTemplateIdentifier- he name of the template that defines the schema for the snapshot. This template determines which subset of the resource data is included in the snapshot and 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.
-
revision
Specifies which revision of the snapshot to retrieve. If omitted returns the latest revision.
- Parameters:
revision- Specifies which revision of the snapshot to retrieve. If omitted returns the latest revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetResourceSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetResourceSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-