Interface UpdateAutomaticTapeCreationPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAutomaticTapeCreationPolicyRequest.Builder,UpdateAutomaticTapeCreationPolicyRequest>,SdkBuilder<UpdateAutomaticTapeCreationPolicyRequest.Builder,UpdateAutomaticTapeCreationPolicyRequest>,SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
- UpdateAutomaticTapeCreationPolicyRequest
public static interface UpdateAutomaticTapeCreationPolicyRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateAutomaticTapeCreationPolicyRequest.Builder,UpdateAutomaticTapeCreationPolicyRequest>
-
-
Method Summary
-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
-
-
-
Method Detail
-
automaticTapeCreationRules
UpdateAutomaticTapeCreationPolicyRequest.Builder automaticTapeCreationRules(Collection<AutomaticTapeCreationRule> automaticTapeCreationRules)
An automatic tape creation policy consists of a list of automatic tape creation rules. The rules determine when and how to automatically create new tapes.
- Parameters:
automaticTapeCreationRules- An automatic tape creation policy consists of a list of automatic tape creation rules. The rules determine when and how to automatically create new tapes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticTapeCreationRules
UpdateAutomaticTapeCreationPolicyRequest.Builder automaticTapeCreationRules(AutomaticTapeCreationRule... automaticTapeCreationRules)
An automatic tape creation policy consists of a list of automatic tape creation rules. The rules determine when and how to automatically create new tapes.
- Parameters:
automaticTapeCreationRules- An automatic tape creation policy consists of a list of automatic tape creation rules. The rules determine when and how to automatically create new tapes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automaticTapeCreationRules
UpdateAutomaticTapeCreationPolicyRequest.Builder automaticTapeCreationRules(Consumer<AutomaticTapeCreationRule.Builder>... automaticTapeCreationRules)
An automatic tape creation policy consists of a list of automatic tape creation rules. The rules determine when and how to automatically create new tapes.
This is a convenience method that creates an instance of theAutomaticTapeCreationRule.Builderavoiding the need to create one manually viaAutomaticTapeCreationRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#automaticTapeCreationRules(List.) - Parameters:
automaticTapeCreationRules- a consumer that will call methods onAutomaticTapeCreationRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#automaticTapeCreationRules(java.util.Collection)
-
gatewayARN
UpdateAutomaticTapeCreationPolicyRequest.Builder gatewayARN(String gatewayARN)
Sets the value of the GatewayARN property for this object.- Parameters:
gatewayARN- The new value for the GatewayARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAutomaticTapeCreationPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAutomaticTapeCreationPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-