@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutomaticTapeCreationPolicyInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the gateway's automatic tape creation policies, including the automatic tape creation rules and the gateway that is using the policies.
| Constructor and Description | 
|---|
| AutomaticTapeCreationPolicyInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| AutomaticTapeCreationPolicyInfo | clone() | 
| boolean | equals(Object obj) | 
| List<AutomaticTapeCreationRule> | getAutomaticTapeCreationRules()
 An automatic tape creation policy consists of a list of automatic tape creation rules. | 
| String | getGatewayARN() | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAutomaticTapeCreationRules(Collection<AutomaticTapeCreationRule> automaticTapeCreationRules)
 An automatic tape creation policy consists of a list of automatic tape creation rules. | 
| void | setGatewayARN(String gatewayARN) | 
| String | toString()Returns a string representation of this object. | 
| AutomaticTapeCreationPolicyInfo | withAutomaticTapeCreationRules(AutomaticTapeCreationRule... automaticTapeCreationRules)
 An automatic tape creation policy consists of a list of automatic tape creation rules. | 
| AutomaticTapeCreationPolicyInfo | withAutomaticTapeCreationRules(Collection<AutomaticTapeCreationRule> automaticTapeCreationRules)
 An automatic tape creation policy consists of a list of automatic tape creation rules. | 
| AutomaticTapeCreationPolicyInfo | withGatewayARN(String gatewayARN) | 
public List<AutomaticTapeCreationRule> getAutomaticTapeCreationRules()
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.
public void setAutomaticTapeCreationRules(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.
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.public AutomaticTapeCreationPolicyInfo withAutomaticTapeCreationRules(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.
 NOTE: This method appends the values to the existing list (if any). Use
 setAutomaticTapeCreationRules(java.util.Collection) or
 withAutomaticTapeCreationRules(java.util.Collection) if you want to override the existing values.
 
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.public AutomaticTapeCreationPolicyInfo withAutomaticTapeCreationRules(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.
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.public void setGatewayARN(String gatewayARN)
gatewayARN - public String getGatewayARN()
public AutomaticTapeCreationPolicyInfo withGatewayARN(String gatewayARN)
gatewayARN - public String toString()
toString in class ObjectObject.toString()public AutomaticTapeCreationPolicyInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.