@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcrRepositoryImageScanningConfigurationDetails extends Object implements Serializable, Cloneable, StructuredPojo
The image scanning configuration for a repository.
Constructor and Description |
---|
AwsEcrRepositoryImageScanningConfigurationDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcrRepositoryImageScanningConfigurationDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getScanOnPush()
Whether to scan images after they are pushed to a repository.
|
int |
hashCode() |
Boolean |
isScanOnPush()
Whether to scan images after they are pushed to a repository.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setScanOnPush(Boolean scanOnPush)
Whether to scan images after they are pushed to a repository.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcrRepositoryImageScanningConfigurationDetails |
withScanOnPush(Boolean scanOnPush)
Whether to scan images after they are pushed to a repository.
|
public AwsEcrRepositoryImageScanningConfigurationDetails()
public void setScanOnPush(Boolean scanOnPush)
Whether to scan images after they are pushed to a repository.
scanOnPush
- Whether to scan images after they are pushed to a repository.public Boolean getScanOnPush()
Whether to scan images after they are pushed to a repository.
public AwsEcrRepositoryImageScanningConfigurationDetails withScanOnPush(Boolean scanOnPush)
Whether to scan images after they are pushed to a repository.
scanOnPush
- Whether to scan images after they are pushed to a repository.public Boolean isScanOnPush()
Whether to scan images after they are pushed to a repository.
public String toString()
toString
in class Object
Object.toString()
public AwsEcrRepositoryImageScanningConfigurationDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.