@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryScanningConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The details of the scanning configuration for a repository.
Constructor and Description |
---|
RepositoryScanningConfiguration() |
Modifier and Type | Method and Description |
---|---|
RepositoryScanningConfiguration |
clone() |
boolean |
equals(Object obj) |
List<ScanningRepositoryFilter> |
getAppliedScanFilters()
The scan filters applied to the repository.
|
String |
getRepositoryArn()
The ARN of the repository.
|
String |
getRepositoryName()
The name of the repository.
|
String |
getScanFrequency()
The scan frequency for the repository.
|
Boolean |
getScanOnPush()
Whether or not scan on push is configured for the repository.
|
int |
hashCode() |
Boolean |
isScanOnPush()
Whether or not scan on push is configured for the repository.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppliedScanFilters(Collection<ScanningRepositoryFilter> appliedScanFilters)
The scan filters applied to the repository.
|
void |
setRepositoryArn(String repositoryArn)
The ARN of the repository.
|
void |
setRepositoryName(String repositoryName)
The name of the repository.
|
void |
setScanFrequency(String scanFrequency)
The scan frequency for the repository.
|
void |
setScanOnPush(Boolean scanOnPush)
Whether or not scan on push is configured for the repository.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryScanningConfiguration |
withAppliedScanFilters(Collection<ScanningRepositoryFilter> appliedScanFilters)
The scan filters applied to the repository.
|
RepositoryScanningConfiguration |
withAppliedScanFilters(ScanningRepositoryFilter... appliedScanFilters)
The scan filters applied to the repository.
|
RepositoryScanningConfiguration |
withRepositoryArn(String repositoryArn)
The ARN of the repository.
|
RepositoryScanningConfiguration |
withRepositoryName(String repositoryName)
The name of the repository.
|
RepositoryScanningConfiguration |
withScanFrequency(ScanFrequency scanFrequency)
The scan frequency for the repository.
|
RepositoryScanningConfiguration |
withScanFrequency(String scanFrequency)
The scan frequency for the repository.
|
RepositoryScanningConfiguration |
withScanOnPush(Boolean scanOnPush)
Whether or not scan on push is configured for the repository.
|
public void setRepositoryArn(String repositoryArn)
The ARN of the repository.
repositoryArn
- The ARN of the repository.public String getRepositoryArn()
The ARN of the repository.
public RepositoryScanningConfiguration withRepositoryArn(String repositoryArn)
The ARN of the repository.
repositoryArn
- The ARN of the repository.public void setRepositoryName(String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public String getRepositoryName()
The name of the repository.
public RepositoryScanningConfiguration withRepositoryName(String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public void setScanOnPush(Boolean scanOnPush)
Whether or not scan on push is configured for the repository.
scanOnPush
- Whether or not scan on push is configured for the repository.public Boolean getScanOnPush()
Whether or not scan on push is configured for the repository.
public RepositoryScanningConfiguration withScanOnPush(Boolean scanOnPush)
Whether or not scan on push is configured for the repository.
scanOnPush
- Whether or not scan on push is configured for the repository.public Boolean isScanOnPush()
Whether or not scan on push is configured for the repository.
public void setScanFrequency(String scanFrequency)
The scan frequency for the repository.
scanFrequency
- The scan frequency for the repository.ScanFrequency
public String getScanFrequency()
The scan frequency for the repository.
ScanFrequency
public RepositoryScanningConfiguration withScanFrequency(String scanFrequency)
The scan frequency for the repository.
scanFrequency
- The scan frequency for the repository.ScanFrequency
public RepositoryScanningConfiguration withScanFrequency(ScanFrequency scanFrequency)
The scan frequency for the repository.
scanFrequency
- The scan frequency for the repository.ScanFrequency
public List<ScanningRepositoryFilter> getAppliedScanFilters()
The scan filters applied to the repository.
public void setAppliedScanFilters(Collection<ScanningRepositoryFilter> appliedScanFilters)
The scan filters applied to the repository.
appliedScanFilters
- The scan filters applied to the repository.public RepositoryScanningConfiguration withAppliedScanFilters(ScanningRepositoryFilter... appliedScanFilters)
The scan filters applied to the repository.
NOTE: This method appends the values to the existing list (if any). Use
setAppliedScanFilters(java.util.Collection)
or withAppliedScanFilters(java.util.Collection)
if
you want to override the existing values.
appliedScanFilters
- The scan filters applied to the repository.public RepositoryScanningConfiguration withAppliedScanFilters(Collection<ScanningRepositoryFilter> appliedScanFilters)
The scan filters applied to the repository.
appliedScanFilters
- The scan filters applied to the repository.public String toString()
toString
in class Object
Object.toString()
public RepositoryScanningConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.