@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCloudFrontDistributionOriginGroupFailoverStatusCodes extends Object implements Serializable, Cloneable, StructuredPojo
The status codes that cause an origin group to fail over.
| Constructor and Description |
|---|
AwsCloudFrontDistributionOriginGroupFailoverStatusCodes() |
| Modifier and Type | Method and Description |
|---|---|
AwsCloudFrontDistributionOriginGroupFailoverStatusCodes |
clone() |
boolean |
equals(Object obj) |
List<Integer> |
getItems()
The list of status code values that can cause a failover to the next origin.
|
Integer |
getQuantity()
The number of status codes that can cause a failover.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setItems(Collection<Integer> items)
The list of status code values that can cause a failover to the next origin.
|
void |
setQuantity(Integer quantity)
The number of status codes that can cause a failover.
|
String |
toString()
Returns a string representation of this object.
|
AwsCloudFrontDistributionOriginGroupFailoverStatusCodes |
withItems(Collection<Integer> items)
The list of status code values that can cause a failover to the next origin.
|
AwsCloudFrontDistributionOriginGroupFailoverStatusCodes |
withItems(Integer... items)
The list of status code values that can cause a failover to the next origin.
|
AwsCloudFrontDistributionOriginGroupFailoverStatusCodes |
withQuantity(Integer quantity)
The number of status codes that can cause a failover.
|
public AwsCloudFrontDistributionOriginGroupFailoverStatusCodes()
public List<Integer> getItems()
The list of status code values that can cause a failover to the next origin.
public void setItems(Collection<Integer> items)
The list of status code values that can cause a failover to the next origin.
items - The list of status code values that can cause a failover to the next origin.public AwsCloudFrontDistributionOriginGroupFailoverStatusCodes withItems(Integer... items)
The list of status code values that can cause a failover to the next origin.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - The list of status code values that can cause a failover to the next origin.public AwsCloudFrontDistributionOriginGroupFailoverStatusCodes withItems(Collection<Integer> items)
The list of status code values that can cause a failover to the next origin.
items - The list of status code values that can cause a failover to the next origin.public void setQuantity(Integer quantity)
The number of status codes that can cause a failover.
quantity - The number of status codes that can cause a failover.public Integer getQuantity()
The number of status codes that can cause a failover.
public AwsCloudFrontDistributionOriginGroupFailoverStatusCodes withQuantity(Integer quantity)
The number of status codes that can cause a failover.
quantity - The number of status codes that can cause a failover.public String toString()
toString in class ObjectObject.toString()public AwsCloudFrontDistributionOriginGroupFailoverStatusCodes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.