@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProtectionLimits extends Object implements Serializable, Cloneable, StructuredPojo
Limits settings on protections for your subscription.
| Constructor and Description |
|---|
ProtectionLimits() |
| Modifier and Type | Method and Description |
|---|---|
ProtectionLimits |
clone() |
boolean |
equals(Object obj) |
List<Limit> |
getProtectedResourceTypeLimits()
The maximum number of resource types that you can specify in a protection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setProtectedResourceTypeLimits(Collection<Limit> protectedResourceTypeLimits)
The maximum number of resource types that you can specify in a protection.
|
String |
toString()
Returns a string representation of this object.
|
ProtectionLimits |
withProtectedResourceTypeLimits(Collection<Limit> protectedResourceTypeLimits)
The maximum number of resource types that you can specify in a protection.
|
ProtectionLimits |
withProtectedResourceTypeLimits(Limit... protectedResourceTypeLimits)
The maximum number of resource types that you can specify in a protection.
|
public List<Limit> getProtectedResourceTypeLimits()
The maximum number of resource types that you can specify in a protection.
public void setProtectedResourceTypeLimits(Collection<Limit> protectedResourceTypeLimits)
The maximum number of resource types that you can specify in a protection.
protectedResourceTypeLimits - The maximum number of resource types that you can specify in a protection.public ProtectionLimits withProtectedResourceTypeLimits(Limit... protectedResourceTypeLimits)
The maximum number of resource types that you can specify in a protection.
NOTE: This method appends the values to the existing list (if any). Use
setProtectedResourceTypeLimits(java.util.Collection) or
withProtectedResourceTypeLimits(java.util.Collection) if you want to override the existing values.
protectedResourceTypeLimits - The maximum number of resource types that you can specify in a protection.public ProtectionLimits withProtectedResourceTypeLimits(Collection<Limit> protectedResourceTypeLimits)
The maximum number of resource types that you can specify in a protection.
protectedResourceTypeLimits - The maximum number of resource types that you can specify in a protection.public String toString()
toString in class ObjectObject.toString()public ProtectionLimits clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.