@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcrContainerImageMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Information on the Amazon ECR image metadata associated with a finding.
Constructor and Description |
---|
EcrContainerImageMetadata() |
Modifier and Type | Method and Description |
---|---|
EcrContainerImageMetadata |
clone() |
boolean |
equals(Object obj) |
List<String> |
getTags()
Tags associated with the Amazon ECR image metadata.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTags(Collection<String> tags)
Tags associated with the Amazon ECR image metadata.
|
String |
toString()
Returns a string representation of this object.
|
EcrContainerImageMetadata |
withTags(Collection<String> tags)
Tags associated with the Amazon ECR image metadata.
|
EcrContainerImageMetadata |
withTags(String... tags)
Tags associated with the Amazon ECR image metadata.
|
public List<String> getTags()
Tags associated with the Amazon ECR image metadata.
public void setTags(Collection<String> tags)
Tags associated with the Amazon ECR image metadata.
tags
- Tags associated with the Amazon ECR image metadata.public EcrContainerImageMetadata withTags(String... tags)
Tags associated with the Amazon ECR image metadata.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags associated with the Amazon ECR image metadata.public EcrContainerImageMetadata withTags(Collection<String> tags)
Tags associated with the Amazon ECR image metadata.
tags
- Tags associated with the Amazon ECR image metadata.public String toString()
toString
in class Object
Object.toString()
public EcrContainerImageMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.