Interface ModifySnapshotTierRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifySnapshotTierRequest.Builder,ModifySnapshotTierRequest>,Ec2Request.Builder,SdkBuilder<ModifySnapshotTierRequest.Builder,ModifySnapshotTierRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ModifySnapshotTierRequest
@Mutable @NotThreadSafe public static interface ModifySnapshotTierRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifySnapshotTierRequest.Builder,ModifySnapshotTierRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifySnapshotTierRequest.BuilderdryRun(Boolean dryRun)Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.ModifySnapshotTierRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifySnapshotTierRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ModifySnapshotTierRequest.BuildersnapshotId(String snapshotId)The ID of the snapshot.ModifySnapshotTierRequest.BuilderstorageTier(String storageTier)The name of the storage tier.ModifySnapshotTierRequest.BuilderstorageTier(TargetStorageTier storageTier)The name of the storage tier.-
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.ec2.model.Ec2Request.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
-
snapshotId
ModifySnapshotTierRequest.Builder snapshotId(String snapshotId)
The ID of the snapshot.
- Parameters:
snapshotId- The ID of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageTier
ModifySnapshotTierRequest.Builder storageTier(String storageTier)
The name of the storage tier. You must specify
archive.- Parameters:
storageTier- The name of the storage tier. You must specifyarchive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetStorageTier,TargetStorageTier
-
storageTier
ModifySnapshotTierRequest.Builder storageTier(TargetStorageTier storageTier)
The name of the storage tier. You must specify
archive.- Parameters:
storageTier- The name of the storage tier. You must specifyarchive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetStorageTier,TargetStorageTier
-
dryRun
ModifySnapshotTierRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifySnapshotTierRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifySnapshotTierRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-