@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContainerDistributionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Container distribution settings for encryption, licensing, and sharing in a specific Region.
Constructor and Description |
---|
ContainerDistributionConfiguration() |
Modifier and Type | Method and Description |
---|---|
ContainerDistributionConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getContainerTags()
Tags that are attached to the container distribution configuration.
|
String |
getDescription()
The description of the container distribution configuration.
|
TargetContainerRepository |
getTargetRepository()
The destination repository for the container distribution configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainerTags(Collection<String> containerTags)
Tags that are attached to the container distribution configuration.
|
void |
setDescription(String description)
The description of the container distribution configuration.
|
void |
setTargetRepository(TargetContainerRepository targetRepository)
The destination repository for the container distribution configuration.
|
String |
toString()
Returns a string representation of this object.
|
ContainerDistributionConfiguration |
withContainerTags(Collection<String> containerTags)
Tags that are attached to the container distribution configuration.
|
ContainerDistributionConfiguration |
withContainerTags(String... containerTags)
Tags that are attached to the container distribution configuration.
|
ContainerDistributionConfiguration |
withDescription(String description)
The description of the container distribution configuration.
|
ContainerDistributionConfiguration |
withTargetRepository(TargetContainerRepository targetRepository)
The destination repository for the container distribution configuration.
|
public void setDescription(String description)
The description of the container distribution configuration.
description
- The description of the container distribution configuration.public String getDescription()
The description of the container distribution configuration.
public ContainerDistributionConfiguration withDescription(String description)
The description of the container distribution configuration.
description
- The description of the container distribution configuration.public List<String> getContainerTags()
Tags that are attached to the container distribution configuration.
public void setContainerTags(Collection<String> containerTags)
Tags that are attached to the container distribution configuration.
containerTags
- Tags that are attached to the container distribution configuration.public ContainerDistributionConfiguration withContainerTags(String... containerTags)
Tags that are attached to the container distribution configuration.
NOTE: This method appends the values to the existing list (if any). Use
setContainerTags(java.util.Collection)
or withContainerTags(java.util.Collection)
if you want
to override the existing values.
containerTags
- Tags that are attached to the container distribution configuration.public ContainerDistributionConfiguration withContainerTags(Collection<String> containerTags)
Tags that are attached to the container distribution configuration.
containerTags
- Tags that are attached to the container distribution configuration.public void setTargetRepository(TargetContainerRepository targetRepository)
The destination repository for the container distribution configuration.
targetRepository
- The destination repository for the container distribution configuration.public TargetContainerRepository getTargetRepository()
The destination repository for the container distribution configuration.
public ContainerDistributionConfiguration withTargetRepository(TargetContainerRepository targetRepository)
The destination repository for the container distribution configuration.
targetRepository
- The destination repository for the container distribution configuration.public String toString()
toString
in class Object
Object.toString()
public ContainerDistributionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.