@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OriginGroupFailoverCriteria extends Object implements Serializable, Cloneable
A complex data type that includes information about the failover criteria for an origin group, including the status codes for which CloudFront will failover from the primary origin to the second origin.
Constructor and Description |
---|
OriginGroupFailoverCriteria() |
Modifier and Type | Method and Description |
---|---|
OriginGroupFailoverCriteria |
clone() |
boolean |
equals(Object obj) |
StatusCodes |
getStatusCodes()
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second
origin.
|
int |
hashCode() |
void |
setStatusCodes(StatusCodes statusCodes)
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second
origin.
|
String |
toString()
Returns a string representation of this object.
|
OriginGroupFailoverCriteria |
withStatusCodes(StatusCodes statusCodes)
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second
origin.
|
public void setStatusCodes(StatusCodes statusCodes)
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.
statusCodes
- The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the
second origin.public StatusCodes getStatusCodes()
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.
public OriginGroupFailoverCriteria withStatusCodes(StatusCodes statusCodes)
The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the second origin.
statusCodes
- The status codes that, when returned from the primary origin, will trigger CloudFront to failover to the
second origin.public String toString()
toString
in class Object
Object.toString()
public OriginGroupFailoverCriteria clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.