@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DistributionConfigurationSummary extends Object implements Serializable, Cloneable, StructuredPojo
A high-level overview of a distribution configuration.
Constructor and Description |
---|
DistributionConfigurationSummary() |
Modifier and Type | Method and Description |
---|---|
DistributionConfigurationSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
DistributionConfigurationSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
DistributionConfigurationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the distribution configuration.
|
String |
getDateCreated()
The date on which the distribution configuration was created.
|
String |
getDateUpdated()
The date on which the distribution configuration was updated.
|
String |
getDescription()
The description of the distribution configuration.
|
String |
getName()
The name of the distribution configuration.
|
List<String> |
getRegions()
A list of Regions where the container image is distributed to.
|
Map<String,String> |
getTags()
The tags associated with the distribution configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the distribution configuration.
|
void |
setDateCreated(String dateCreated)
The date on which the distribution configuration was created.
|
void |
setDateUpdated(String dateUpdated)
The date on which the distribution configuration was updated.
|
void |
setDescription(String description)
The description of the distribution configuration.
|
void |
setName(String name)
The name of the distribution configuration.
|
void |
setRegions(Collection<String> regions)
A list of Regions where the container image is distributed to.
|
void |
setTags(Map<String,String> tags)
The tags associated with the distribution configuration.
|
String |
toString()
Returns a string representation of this object.
|
DistributionConfigurationSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the distribution configuration.
|
DistributionConfigurationSummary |
withDateCreated(String dateCreated)
The date on which the distribution configuration was created.
|
DistributionConfigurationSummary |
withDateUpdated(String dateUpdated)
The date on which the distribution configuration was updated.
|
DistributionConfigurationSummary |
withDescription(String description)
The description of the distribution configuration.
|
DistributionConfigurationSummary |
withName(String name)
The name of the distribution configuration.
|
DistributionConfigurationSummary |
withRegions(Collection<String> regions)
A list of Regions where the container image is distributed to.
|
DistributionConfigurationSummary |
withRegions(String... regions)
A list of Regions where the container image is distributed to.
|
DistributionConfigurationSummary |
withTags(Map<String,String> tags)
The tags associated with the distribution configuration.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the distribution configuration.
arn
- The Amazon Resource Name (ARN) of the distribution configuration.public String getArn()
The Amazon Resource Name (ARN) of the distribution configuration.
public DistributionConfigurationSummary withArn(String arn)
The Amazon Resource Name (ARN) of the distribution configuration.
arn
- The Amazon Resource Name (ARN) of the distribution configuration.public void setName(String name)
The name of the distribution configuration.
name
- The name of the distribution configuration.public String getName()
The name of the distribution configuration.
public DistributionConfigurationSummary withName(String name)
The name of the distribution configuration.
name
- The name of the distribution configuration.public void setDescription(String description)
The description of the distribution configuration.
description
- The description of the distribution configuration.public String getDescription()
The description of the distribution configuration.
public DistributionConfigurationSummary withDescription(String description)
The description of the distribution configuration.
description
- The description of the distribution configuration.public void setDateCreated(String dateCreated)
The date on which the distribution configuration was created.
dateCreated
- The date on which the distribution configuration was created.public String getDateCreated()
The date on which the distribution configuration was created.
public DistributionConfigurationSummary withDateCreated(String dateCreated)
The date on which the distribution configuration was created.
dateCreated
- The date on which the distribution configuration was created.public void setDateUpdated(String dateUpdated)
The date on which the distribution configuration was updated.
dateUpdated
- The date on which the distribution configuration was updated.public String getDateUpdated()
The date on which the distribution configuration was updated.
public DistributionConfigurationSummary withDateUpdated(String dateUpdated)
The date on which the distribution configuration was updated.
dateUpdated
- The date on which the distribution configuration was updated.public Map<String,String> getTags()
The tags associated with the distribution configuration.
public void setTags(Map<String,String> tags)
The tags associated with the distribution configuration.
tags
- The tags associated with the distribution configuration.public DistributionConfigurationSummary withTags(Map<String,String> tags)
The tags associated with the distribution configuration.
tags
- The tags associated with the distribution configuration.public DistributionConfigurationSummary addTagsEntry(String key, String value)
public DistributionConfigurationSummary clearTagsEntries()
public List<String> getRegions()
A list of Regions where the container image is distributed to.
public void setRegions(Collection<String> regions)
A list of Regions where the container image is distributed to.
regions
- A list of Regions where the container image is distributed to.public DistributionConfigurationSummary withRegions(String... regions)
A list of Regions where the container image is distributed to.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- A list of Regions where the container image is distributed to.public DistributionConfigurationSummary withRegions(Collection<String> regions)
A list of Regions where the container image is distributed to.
regions
- A list of Regions where the container image is distributed to.public String toString()
toString
in class Object
Object.toString()
public DistributionConfigurationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.