@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCloudFrontDistributionOriginGroups extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about origin groups that are associated with the CloudFront distribution.
Constructor and Description |
---|
AwsCloudFrontDistributionOriginGroups() |
Modifier and Type | Method and Description |
---|---|
AwsCloudFrontDistributionOriginGroups |
clone() |
boolean |
equals(Object obj) |
List<AwsCloudFrontDistributionOriginGroup> |
getItems()
The list of origin groups.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setItems(Collection<AwsCloudFrontDistributionOriginGroup> items)
The list of origin groups.
|
String |
toString()
Returns a string representation of this object.
|
AwsCloudFrontDistributionOriginGroups |
withItems(AwsCloudFrontDistributionOriginGroup... items)
The list of origin groups.
|
AwsCloudFrontDistributionOriginGroups |
withItems(Collection<AwsCloudFrontDistributionOriginGroup> items)
The list of origin groups.
|
public AwsCloudFrontDistributionOriginGroups()
public List<AwsCloudFrontDistributionOriginGroup> getItems()
The list of origin groups.
public void setItems(Collection<AwsCloudFrontDistributionOriginGroup> items)
The list of origin groups.
items
- The list of origin groups.public AwsCloudFrontDistributionOriginGroups withItems(AwsCloudFrontDistributionOriginGroup... items)
The list of origin groups.
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 origin groups.public AwsCloudFrontDistributionOriginGroups withItems(Collection<AwsCloudFrontDistributionOriginGroup> items)
The list of origin groups.
items
- The list of origin groups.public String toString()
toString
in class Object
Object.toString()
public AwsCloudFrontDistributionOriginGroups clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.