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