Interface CreateResourceSnapshotJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateResourceSnapshotJobRequest.Builder,CreateResourceSnapshotJobRequest>,PartnerCentralSellingRequest.Builder,SdkBuilder<CreateResourceSnapshotJobRequest.Builder,CreateResourceSnapshotJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateResourceSnapshotJobRequest
public static interface CreateResourceSnapshotJobRequest.Builder extends PartnerCentralSellingRequest.Builder, SdkPojo, CopyableBuilder<CreateResourceSnapshotJobRequest.Builder,CreateResourceSnapshotJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateResourceSnapshotJobRequest.Buildercatalog(String catalog)Specifies the catalog in which to create the snapshot job.CreateResourceSnapshotJobRequest.BuilderclientToken(String clientToken)A client-generated UUID used for idempotency check.CreateResourceSnapshotJobRequest.BuilderengagementIdentifier(String engagementIdentifier)Specifies the identifier of the engagement associated with the resource to be snapshotted.CreateResourceSnapshotJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateResourceSnapshotJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateResourceSnapshotJobRequest.BuilderresourceIdentifier(String resourceIdentifier)Specifies the identifier of the specific resource to be snapshotted.CreateResourceSnapshotJobRequest.BuilderresourceSnapshotTemplateIdentifier(String resourceSnapshotTemplateIdentifier)Specifies the name of the template that defines the schema for the snapshot.CreateResourceSnapshotJobRequest.BuilderresourceType(String resourceType)The type of resource for which the snapshot job is being created.CreateResourceSnapshotJobRequest.BuilderresourceType(ResourceType resourceType)The type of resource for which the snapshot job is being created.CreateResourceSnapshotJobRequest.Buildertags(Collection<Tag> tags)A list of objects specifying each tag name and value.CreateResourceSnapshotJobRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of objects specifying each tag name and value.CreateResourceSnapshotJobRequest.Buildertags(Tag... tags)A list of objects specifying each tag name and value.-
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 Detail
-
catalog
CreateResourceSnapshotJobRequest.Builder catalog(String catalog)
Specifies the catalog in which to create the snapshot job. Valid values are
AWSandSandbox.- Parameters:
catalog- Specifies the catalog in which to create the snapshot job. Valid values areAWSandSandbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateResourceSnapshotJobRequest.Builder clientToken(String clientToken)
A client-generated UUID used for idempotency check. The token helps prevent duplicate job creations.
- Parameters:
clientToken- A client-generated UUID used for idempotency check. The token helps prevent duplicate job creations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementIdentifier
CreateResourceSnapshotJobRequest.Builder engagementIdentifier(String engagementIdentifier)
Specifies the identifier of the engagement associated with the resource to be snapshotted.
- Parameters:
engagementIdentifier- Specifies the identifier of the engagement associated with the resource to be snapshotted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
CreateResourceSnapshotJobRequest.Builder resourceIdentifier(String resourceIdentifier)
Specifies the identifier of the specific resource to be snapshotted. The format depends on the
ResourceType.- Parameters:
resourceIdentifier- Specifies the identifier of the specific resource to be snapshotted. The format depends on theResourceType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSnapshotTemplateIdentifier
CreateResourceSnapshotJobRequest.Builder resourceSnapshotTemplateIdentifier(String resourceSnapshotTemplateIdentifier)
Specifies the name of the template that defines the schema for the snapshot.
- Parameters:
resourceSnapshotTemplateIdentifier- Specifies the name of the template that defines the schema for the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
CreateResourceSnapshotJobRequest.Builder resourceType(String resourceType)
The type of resource for which the snapshot job is being created. Must be one of the supported resource types i.e.
Opportunity- Parameters:
resourceType- The type of resource for which the snapshot job is being created. Must be one of the supported resource types i.e.Opportunity- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
resourceType
CreateResourceSnapshotJobRequest.Builder resourceType(ResourceType resourceType)
The type of resource for which the snapshot job is being created. Must be one of the supported resource types i.e.
Opportunity- Parameters:
resourceType- The type of resource for which the snapshot job is being created. Must be one of the supported resource types i.e.Opportunity- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
tags
CreateResourceSnapshotJobRequest.Builder tags(Collection<Tag> tags)
A list of objects specifying each tag name and value.
- Parameters:
tags- A list of objects specifying each tag name and value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateResourceSnapshotJobRequest.Builder tags(Tag... tags)
A list of objects specifying each tag name and value.
- Parameters:
tags- A list of objects specifying each tag name and value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateResourceSnapshotJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of objects specifying each tag name and value.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateResourceSnapshotJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateResourceSnapshotJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-