@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCloudFrontDistributionOriginGroup extends Object implements Serializable, Cloneable, StructuredPojo
Information about an origin group for the distribution.
Constructor and Description |
---|
AwsCloudFrontDistributionOriginGroup() |
Modifier and Type | Method and Description |
---|---|
AwsCloudFrontDistributionOriginGroup |
clone() |
boolean |
equals(Object obj) |
AwsCloudFrontDistributionOriginGroupFailover |
getFailoverCriteria()
Provides the criteria for an origin group to fail over.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailoverCriteria(AwsCloudFrontDistributionOriginGroupFailover failoverCriteria)
Provides the criteria for an origin group to fail over.
|
String |
toString()
Returns a string representation of this object.
|
AwsCloudFrontDistributionOriginGroup |
withFailoverCriteria(AwsCloudFrontDistributionOriginGroupFailover failoverCriteria)
Provides the criteria for an origin group to fail over.
|
public AwsCloudFrontDistributionOriginGroup()
public void setFailoverCriteria(AwsCloudFrontDistributionOriginGroupFailover failoverCriteria)
Provides the criteria for an origin group to fail over.
failoverCriteria
- Provides the criteria for an origin group to fail over.public AwsCloudFrontDistributionOriginGroupFailover getFailoverCriteria()
Provides the criteria for an origin group to fail over.
public AwsCloudFrontDistributionOriginGroup withFailoverCriteria(AwsCloudFrontDistributionOriginGroupFailover failoverCriteria)
Provides the criteria for an origin group to fail over.
failoverCriteria
- Provides the criteria for an origin group to fail over.public String toString()
toString
in class Object
Object.toString()
public AwsCloudFrontDistributionOriginGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.