Interface CreateBackupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBackupRequest.Builder,CreateBackupRequest>,FSxRequest.Builder,SdkBuilder<CreateBackupRequest.Builder,CreateBackupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateBackupRequest
public static interface CreateBackupRequest.Builder extends FSxRequest.Builder, SdkPojo, CopyableBuilder<CreateBackupRequest.Builder,CreateBackupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateBackupRequest.BuilderclientRequestToken(String clientRequestToken)(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation.CreateBackupRequest.BuilderfileSystemId(String fileSystemId)The ID of the file system to back up.CreateBackupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateBackupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateBackupRequest.Buildertags(Collection<Tag> tags)(Optional) The tags to apply to the backup at backup creation.CreateBackupRequest.Buildertags(Consumer<Tag.Builder>... tags)(Optional) The tags to apply to the backup at backup creation.CreateBackupRequest.Buildertags(Tag... tags)(Optional) The tags to apply to the backup at backup creation.CreateBackupRequest.BuildervolumeId(String volumeId)(Optional) The ID of the FSx for ONTAP volume to back up.-
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.fsx.model.FSxRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
fileSystemId
CreateBackupRequest.Builder fileSystemId(String fileSystemId)
The ID of the file system to back up.
- Parameters:
fileSystemId- The ID of the file system to back up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
CreateBackupRequest.Builder clientRequestToken(String clientRequestToken)
(Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
- Parameters:
clientRequestToken- (Optional) A string of up to 63 ASCII characters that Amazon FSx uses to ensure idempotent creation. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBackupRequest.Builder tags(Collection<Tag> tags)
(Optional) The tags to apply to the backup at backup creation. The key value of the
Nametag appears in the console as the backup name. If you have setCopyTagsToBackupstotrue, and you specify one or more tags using theCreateBackupoperation, no existing file system tags are copied from the file system to the backup.- Parameters:
tags- (Optional) The tags to apply to the backup at backup creation. The key value of theNametag appears in the console as the backup name. If you have setCopyTagsToBackupstotrue, and you specify one or more tags using theCreateBackupoperation, no existing file system tags are copied from the file system to the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBackupRequest.Builder tags(Tag... tags)
(Optional) The tags to apply to the backup at backup creation. The key value of the
Nametag appears in the console as the backup name. If you have setCopyTagsToBackupstotrue, and you specify one or more tags using theCreateBackupoperation, no existing file system tags are copied from the file system to the backup.- Parameters:
tags- (Optional) The tags to apply to the backup at backup creation. The key value of theNametag appears in the console as the backup name. If you have setCopyTagsToBackupstotrue, and you specify one or more tags using theCreateBackupoperation, no existing file system tags are copied from the file system to the backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateBackupRequest.Builder tags(Consumer<Tag.Builder>... tags)
(Optional) The tags to apply to the backup at backup creation. The key value of the
This is a convenience method that creates an instance of theNametag appears in the console as the backup name. If you have setCopyTagsToBackupstotrue, and you specify one or more tags using theCreateBackupoperation, no existing file system tags are copied from the file system to the backup.Tag.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)
-
volumeId
CreateBackupRequest.Builder volumeId(String volumeId)
(Optional) The ID of the FSx for ONTAP volume to back up.
- Parameters:
volumeId- (Optional) The ID of the FSx for ONTAP volume to back up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBackupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateBackupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-