@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)
Marshalls this structured data using the given
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 scan frequency is supported. If scan
on push is not specified, then the MANUAL scan frequency is set by default.
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 scan frequency is supported. If scan on push is not specified, then the
MANUAL scan frequency is set by default.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 scan frequency is supported. If scan
on push is not specified, then the MANUAL scan frequency is set by default.
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 scan frequency is supported. If scan on push is not specified, then the
MANUAL scan frequency is set by default.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 scan frequency is supported. If scan
on push is not specified, then the MANUAL scan frequency is set by default.
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 scan frequency is supported. If scan on push is not specified, then the
MANUAL scan frequency is set by default.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 scan frequency is supported. If scan
on push is not specified, then the MANUAL scan frequency is set by default.
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 scan frequency is supported. If scan on push is not specified, then the
MANUAL scan frequency is set by default.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)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.