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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutomaticTapeCreationPolicyInfo.BuilderautomaticTapeCreationRules(Collection<AutomaticTapeCreationRule> automaticTapeCreationRules)An automatic tape creation policy consists of a list of automatic tape creation rules.AutomaticTapeCreationPolicyInfo.BuilderautomaticTapeCreationRules(Consumer<AutomaticTapeCreationRule.Builder>... automaticTapeCreationRules)An automatic tape creation policy consists of a list of automatic tape creation rules.AutomaticTapeCreationPolicyInfo.BuilderautomaticTapeCreationRules(AutomaticTapeCreationRule... automaticTapeCreationRules)An automatic tape creation policy consists of a list of automatic tape creation rules.AutomaticTapeCreationPolicyInfo.BuildergatewayARN(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 Detail
-
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.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
AutomaticTapeCreationPolicyInfo.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.
-
-