@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImageScanningConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains settings for Image Builder image resource and container image scans.
Constructor and Description |
---|
ImageScanningConfiguration() |
Modifier and Type | Method and Description |
---|---|
ImageScanningConfiguration |
clone() |
boolean |
equals(Object obj) |
EcrConfiguration |
getEcrConfiguration()
Contains Amazon ECR settings for vulnerability scans.
|
Boolean |
getImageScanningEnabled()
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector
runs against the build instance when you create a new image.
|
int |
hashCode() |
Boolean |
isImageScanningEnabled()
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector
runs against the build instance when you create a new image.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEcrConfiguration(EcrConfiguration ecrConfiguration)
Contains Amazon ECR settings for vulnerability scans.
|
void |
setImageScanningEnabled(Boolean imageScanningEnabled)
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector
runs against the build instance when you create a new image.
|
String |
toString()
Returns a string representation of this object.
|
ImageScanningConfiguration |
withEcrConfiguration(EcrConfiguration ecrConfiguration)
Contains Amazon ECR settings for vulnerability scans.
|
ImageScanningConfiguration |
withImageScanningEnabled(Boolean imageScanningEnabled)
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector
runs against the build instance when you create a new image.
|
public void setImageScanningEnabled(Boolean imageScanningEnabled)
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
imageScanningEnabled
- A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon
Inspector runs against the build instance when you create a new image.public Boolean getImageScanningEnabled()
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
public ImageScanningConfiguration withImageScanningEnabled(Boolean imageScanningEnabled)
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
imageScanningEnabled
- A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon
Inspector runs against the build instance when you create a new image.public Boolean isImageScanningEnabled()
A setting that indicates whether Image Builder keeps a snapshot of the vulnerability scans that Amazon Inspector runs against the build instance when you create a new image.
public void setEcrConfiguration(EcrConfiguration ecrConfiguration)
Contains Amazon ECR settings for vulnerability scans.
ecrConfiguration
- Contains Amazon ECR settings for vulnerability scans.public EcrConfiguration getEcrConfiguration()
Contains Amazon ECR settings for vulnerability scans.
public ImageScanningConfiguration withEcrConfiguration(EcrConfiguration ecrConfiguration)
Contains Amazon ECR settings for vulnerability scans.
ecrConfiguration
- Contains Amazon ECR settings for vulnerability scans.public String toString()
toString
in class Object
Object.toString()
public ImageScanningConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.