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
Modifier and TypeMethodDescriptionautomaticTapeCreationRules
(Collection<AutomaticTapeCreationRule> automaticTapeCreationRules) An automatic tape creation policy consists of a list of automatic tape creation rules.automaticTapeCreationRules
(Consumer<AutomaticTapeCreationRule.Builder>... automaticTapeCreationRules) An automatic tape creation policy consists of a list of automatic tape creation rules.automaticTapeCreationRules
(AutomaticTapeCreationRule... automaticTapeCreationRules) An automatic tape creation policy consists of a list of automatic tape creation rules.gatewayARN
(String gatewayARN) Sets the value of the GatewayARN property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
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.Builder
avoiding the need to create one manually viaAutomaticTapeCreationRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautomaticTapeCreationRules(List<AutomaticTapeCreationRule>)
.- 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:
-
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAutomaticTapeCreationPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-