@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegistryScanningConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The scanning configuration for a private registry.
| Constructor and Description |
|---|
RegistryScanningConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
RegistryScanningConfiguration |
clone() |
boolean |
equals(Object obj) |
List<RegistryScanningRule> |
getRules()
The scanning rules associated with the registry.
|
String |
getScanType()
The type of scanning configured for the registry.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRules(Collection<RegistryScanningRule> rules)
The scanning rules associated with the registry.
|
void |
setScanType(String scanType)
The type of scanning configured for the registry.
|
String |
toString()
Returns a string representation of this object.
|
RegistryScanningConfiguration |
withRules(Collection<RegistryScanningRule> rules)
The scanning rules associated with the registry.
|
RegistryScanningConfiguration |
withRules(RegistryScanningRule... rules)
The scanning rules associated with the registry.
|
RegistryScanningConfiguration |
withScanType(ScanType scanType)
The type of scanning configured for the registry.
|
RegistryScanningConfiguration |
withScanType(String scanType)
The type of scanning configured for the registry.
|
public void setScanType(String scanType)
The type of scanning configured for the registry.
scanType - The type of scanning configured for the registry.ScanTypepublic String getScanType()
The type of scanning configured for the registry.
ScanTypepublic RegistryScanningConfiguration withScanType(String scanType)
The type of scanning configured for the registry.
scanType - The type of scanning configured for the registry.ScanTypepublic RegistryScanningConfiguration withScanType(ScanType scanType)
The type of scanning configured for the registry.
scanType - The type of scanning configured for the registry.ScanTypepublic List<RegistryScanningRule> getRules()
The scanning rules associated with the registry.
public void setRules(Collection<RegistryScanningRule> rules)
The scanning rules associated with the registry.
rules - The scanning rules associated with the registry.public RegistryScanningConfiguration withRules(RegistryScanningRule... rules)
The scanning rules associated with the registry.
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 associated with the registry.public RegistryScanningConfiguration withRules(Collection<RegistryScanningRule> rules)
The scanning rules associated with the registry.
rules - The scanning rules associated with the registry.public String toString()
toString in class ObjectObject.toString()public RegistryScanningConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.