Interface AutomaticTapeCreationPolicyInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomaticTapeCreationPolicyInfo.Builder,
,AutomaticTapeCreationPolicyInfo> SdkBuilder<AutomaticTapeCreationPolicyInfo.Builder,
,AutomaticTapeCreationPolicyInfo> SdkPojo
- Enclosing class:
AutomaticTapeCreationPolicyInfo
public static interface AutomaticTapeCreationPolicyInfo.Builder
extends SdkPojo, CopyableBuilder<AutomaticTapeCreationPolicyInfo.Builder,AutomaticTapeCreationPolicyInfo>
-
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.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
-
Method Details
-
automaticTapeCreationRules
AutomaticTapeCreationPolicyInfo.Builder automaticTapeCreationRules(Collection<AutomaticTapeCreationRule> automaticTapeCreationRules) An automatic tape creation policy consists of a list of automatic tape creation rules. This returns the rules that 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. This returns the rules that 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
AutomaticTapeCreationPolicyInfo.Builder automaticTapeCreationRules(AutomaticTapeCreationRule... automaticTapeCreationRules) An automatic tape creation policy consists of a list of automatic tape creation rules. This returns the rules that 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. This returns the rules that 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
AutomaticTapeCreationPolicyInfo.Builder automaticTapeCreationRules(Consumer<AutomaticTapeCreationRule.Builder>... automaticTapeCreationRules) An automatic tape creation policy consists of a list of automatic tape creation rules. This returns the rules that 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.
-