@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcrConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Settings that Image Builder uses to configure the ECR repository and the output container images that Amazon Inspector scans.
Constructor and Description |
---|
EcrConfiguration() |
Modifier and Type | Method and Description |
---|---|
EcrConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getContainerTags()
Tags for Image Builder to apply to the output container image that &INS; scans.
|
String |
getRepositoryName()
The name of the container repository that Amazon Inspector scans to identify findings for your container images.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainerTags(Collection<String> containerTags)
Tags for Image Builder to apply to the output container image that &INS; scans.
|
void |
setRepositoryName(String repositoryName)
The name of the container repository that Amazon Inspector scans to identify findings for your container images.
|
String |
toString()
Returns a string representation of this object.
|
EcrConfiguration |
withContainerTags(Collection<String> containerTags)
Tags for Image Builder to apply to the output container image that &INS; scans.
|
EcrConfiguration |
withContainerTags(String... containerTags)
Tags for Image Builder to apply to the output container image that &INS; scans.
|
EcrConfiguration |
withRepositoryName(String repositoryName)
The name of the container repository that Amazon Inspector scans to identify findings for your container images.
|
public void setRepositoryName(String repositoryName)
The name of the container repository that Amazon Inspector scans to identify findings for your container images.
The name includes the path for the repository location. If you don’t provide this information, Image Builder
creates a repository in your account named image-builder-image-scanning-repository
for vulnerability
scans of your output container images.
repositoryName
- The name of the container repository that Amazon Inspector scans to identify findings for your container
images. The name includes the path for the repository location. If you don’t provide this information,
Image Builder creates a repository in your account named
image-builder-image-scanning-repository
for vulnerability scans of your output container
images.public String getRepositoryName()
The name of the container repository that Amazon Inspector scans to identify findings for your container images.
The name includes the path for the repository location. If you don’t provide this information, Image Builder
creates a repository in your account named image-builder-image-scanning-repository
for vulnerability
scans of your output container images.
image-builder-image-scanning-repository
for vulnerability scans of your output container
images.public EcrConfiguration withRepositoryName(String repositoryName)
The name of the container repository that Amazon Inspector scans to identify findings for your container images.
The name includes the path for the repository location. If you don’t provide this information, Image Builder
creates a repository in your account named image-builder-image-scanning-repository
for vulnerability
scans of your output container images.
repositoryName
- The name of the container repository that Amazon Inspector scans to identify findings for your container
images. The name includes the path for the repository location. If you don’t provide this information,
Image Builder creates a repository in your account named
image-builder-image-scanning-repository
for vulnerability scans of your output container
images.public List<String> getContainerTags()
Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you identify and manage your scanned images.
public void setContainerTags(Collection<String> containerTags)
Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you identify and manage your scanned images.
containerTags
- Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you
identify and manage your scanned images.public EcrConfiguration withContainerTags(String... containerTags)
Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you identify and manage your scanned images.
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 for Image Builder to apply to the output container image that &INS; scans. Tags can help you
identify and manage your scanned images.public EcrConfiguration withContainerTags(Collection<String> containerTags)
Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you identify and manage your scanned images.
containerTags
- Tags for Image Builder to apply to the output container image that &INS; scans. Tags can help you
identify and manage your scanned images.public String toString()
toString
in class Object
Object.toString()
public EcrConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.