@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegistryScanningRule extends Object implements Serializable, Cloneable, StructuredPojo
The details of a scanning rule for a private registry.
| Constructor and Description |
|---|
RegistryScanningRule() |
| Modifier and Type | Method and Description |
|---|---|
RegistryScanningRule |
clone() |
boolean |
equals(Object obj) |
List<ScanningRepositoryFilter> |
getRepositoryFilters()
The repository filters associated with the scanning configuration for a private registry.
|
String |
getScanFrequency()
The frequency that scans are performed at for a private registry.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRepositoryFilters(Collection<ScanningRepositoryFilter> repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
|
void |
setScanFrequency(String scanFrequency)
The frequency that scans are performed at for a private registry.
|
String |
toString()
Returns a string representation of this object.
|
RegistryScanningRule |
withRepositoryFilters(Collection<ScanningRepositoryFilter> repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
|
RegistryScanningRule |
withRepositoryFilters(ScanningRepositoryFilter... repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
|
RegistryScanningRule |
withScanFrequency(ScanFrequency scanFrequency)
The frequency that scans are performed at for a private registry.
|
RegistryScanningRule |
withScanFrequency(String scanFrequency)
The frequency that scans are performed at for a private registry.
|
public void setScanFrequency(String scanFrequency)
The frequency that scans are performed at for a private registry. When the ENHANCED scan type is
specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When
the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL scan
frequencies are supported.
scanFrequency - The frequency that scans are performed at for a private registry. When the ENHANCED scan type
is specified, the supported scan frequencies are CONTINUOUS_SCAN and
SCAN_ON_PUSH. When the BASIC scan type is specified, the
SCAN_ON_PUSH and MANUAL scan frequencies are supported.ScanFrequencypublic String getScanFrequency()
The frequency that scans are performed at for a private registry. When the ENHANCED scan type is
specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When
the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL scan
frequencies are supported.
ENHANCED scan
type is specified, the supported scan frequencies are CONTINUOUS_SCAN and
SCAN_ON_PUSH. When the BASIC scan type is specified, the
SCAN_ON_PUSH and MANUAL scan frequencies are supported.ScanFrequencypublic RegistryScanningRule withScanFrequency(String scanFrequency)
The frequency that scans are performed at for a private registry. When the ENHANCED scan type is
specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When
the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL scan
frequencies are supported.
scanFrequency - The frequency that scans are performed at for a private registry. When the ENHANCED scan type
is specified, the supported scan frequencies are CONTINUOUS_SCAN and
SCAN_ON_PUSH. When the BASIC scan type is specified, the
SCAN_ON_PUSH and MANUAL scan frequencies are supported.ScanFrequencypublic RegistryScanningRule withScanFrequency(ScanFrequency scanFrequency)
The frequency that scans are performed at for a private registry. When the ENHANCED scan type is
specified, the supported scan frequencies are CONTINUOUS_SCAN and SCAN_ON_PUSH. When
the BASIC scan type is specified, the SCAN_ON_PUSH and MANUAL scan
frequencies are supported.
scanFrequency - The frequency that scans are performed at for a private registry. When the ENHANCED scan type
is specified, the supported scan frequencies are CONTINUOUS_SCAN and
SCAN_ON_PUSH. When the BASIC scan type is specified, the
SCAN_ON_PUSH and MANUAL scan frequencies are supported.ScanFrequencypublic List<ScanningRepositoryFilter> getRepositoryFilters()
The repository filters associated with the scanning configuration for a private registry.
public void setRepositoryFilters(Collection<ScanningRepositoryFilter> repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
repositoryFilters - The repository filters associated with the scanning configuration for a private registry.public RegistryScanningRule withRepositoryFilters(ScanningRepositoryFilter... repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
NOTE: This method appends the values to the existing list (if any). Use
setRepositoryFilters(java.util.Collection) or withRepositoryFilters(java.util.Collection) if
you want to override the existing values.
repositoryFilters - The repository filters associated with the scanning configuration for a private registry.public RegistryScanningRule withRepositoryFilters(Collection<ScanningRepositoryFilter> repositoryFilters)
The repository filters associated with the scanning configuration for a private registry.
repositoryFilters - The repository filters associated with the scanning configuration for a private registry.public String toString()
toString in class ObjectObject.toString()public RegistryScanningRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.