@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() |
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, copyBaseTo, 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, withSdkRequestTimeoutpublic 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.
ScanTypepublic 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.
ScanTypepublic 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.
ScanTypepublic 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.
ScanTypepublic 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 ObjectObject.toString()public PutRegistryScanningConfigurationRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.