@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRegistryScanningConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutRegistryScanningConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
PutRegistryScanningConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<RegistryScanningRule> |
getRules()
The scanning rules to use for the registry.
|
String |
getScanType()
The scanning type to set for the registry.
|
int |
hashCode() |
void |
setRules(Collection<RegistryScanningRule> rules)
The scanning rules to use for the registry.
|
void |
setScanType(String scanType)
The scanning type to set for the registry.
|
String |
toString()
Returns a string representation of this object.
|
PutRegistryScanningConfigurationRequest |
withRules(Collection<RegistryScanningRule> rules)
The scanning rules to use for the registry.
|
PutRegistryScanningConfigurationRequest |
withRules(RegistryScanningRule... rules)
The scanning rules to use for the registry.
|
PutRegistryScanningConfigurationRequest |
withScanType(ScanType scanType)
The scanning type to set for the registry.
|
PutRegistryScanningConfigurationRequest |
withScanType(String scanType)
The scanning type to set for the registry.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public PutRegistryScanningConfigurationRequest()
public void setScanType(String scanType)
The scanning type to set for the registry.
By default, the BASIC
scan type is used. When basic scanning is set, you may specify filters to
determine which individual repositories, or all repositories, are scanned when new images are pushed.
Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated, continuous scanning of all
repositories in your registry.
scanType
- The scanning type to set for the registry.
By default, the BASIC
scan type is used. When basic scanning is set, you may specify filters
to determine which individual repositories, or all repositories, are scanned when new images are pushed.
Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated, continuous scanning
of all repositories in your registry.
ScanType
public String getScanType()
The scanning type to set for the registry.
By default, the BASIC
scan type is used. When basic scanning is set, you may specify filters to
determine which individual repositories, or all repositories, are scanned when new images are pushed.
Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated, continuous scanning of all
repositories in your registry.
By default, the BASIC
scan type is used. When basic scanning is set, you may specify filters
to determine which individual repositories, or all repositories, are scanned when new images are pushed.
Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated, continuous scanning
of all repositories in your registry.
ScanType
public PutRegistryScanningConfigurationRequest withScanType(String scanType)
The scanning type to set for the registry.
By default, the BASIC
scan type is used. When basic scanning is set, you may specify filters to
determine which individual repositories, or all repositories, are scanned when new images are pushed.
Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated, continuous scanning of all
repositories in your registry.
scanType
- The scanning type to set for the registry.
By default, the BASIC
scan type is used. When basic scanning is set, you may specify filters
to determine which individual repositories, or all repositories, are scanned when new images are pushed.
Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated, continuous scanning
of all repositories in your registry.
ScanType
public PutRegistryScanningConfigurationRequest withScanType(ScanType scanType)
The scanning type to set for the registry.
By default, the BASIC
scan type is used. When basic scanning is set, you may specify filters to
determine which individual repositories, or all repositories, are scanned when new images are pushed.
Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated, continuous scanning of all
repositories in your registry.
scanType
- The scanning type to set for the registry.
By default, the BASIC
scan type is used. When basic scanning is set, you may specify filters
to determine which individual repositories, or all repositories, are scanned when new images are pushed.
Alternatively, you can do manual scans of images with basic scanning.
When the ENHANCED
scan type is set, Amazon Inspector provides automated, continuous scanning
of all repositories in your registry.
ScanType
public List<RegistryScanningRule> getRules()
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
public void setRules(Collection<RegistryScanningRule> rules)
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
rules
- The scanning rules to use for the registry. A scanning rule is used to determine which repository filters
are used and at what frequency scanning will occur.public PutRegistryScanningConfigurationRequest withRules(RegistryScanningRule... rules)
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
NOTE: This method appends the values to the existing list (if any). Use
setRules(java.util.Collection)
or withRules(java.util.Collection)
if you want to override the
existing values.
rules
- The scanning rules to use for the registry. A scanning rule is used to determine which repository filters
are used and at what frequency scanning will occur.public PutRegistryScanningConfigurationRequest withRules(Collection<RegistryScanningRule> rules)
The scanning rules to use for the registry. A scanning rule is used to determine which repository filters are used and at what frequency scanning will occur.
rules
- The scanning rules to use for the registry. A scanning rule is used to determine which repository filters
are used and at what frequency scanning will occur.public String toString()
toString
in class Object
Object.toString()
public PutRegistryScanningConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()