@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EcrRepositoryMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Information on the Amazon ECR repository metadata associated with a finding.
Constructor and Description |
---|
EcrRepositoryMetadata() |
Modifier and Type | Method and Description |
---|---|
EcrRepositoryMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the Amazon ECR repository.
|
String |
getScanFrequency()
The frequency of scans.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the Amazon ECR repository.
|
void |
setScanFrequency(String scanFrequency)
The frequency of scans.
|
String |
toString()
Returns a string representation of this object.
|
EcrRepositoryMetadata |
withName(String name)
The name of the Amazon ECR repository.
|
EcrRepositoryMetadata |
withScanFrequency(EcrScanFrequency scanFrequency)
The frequency of scans.
|
EcrRepositoryMetadata |
withScanFrequency(String scanFrequency)
The frequency of scans.
|
public void setName(String name)
The name of the Amazon ECR repository.
name
- The name of the Amazon ECR repository.public String getName()
The name of the Amazon ECR repository.
public EcrRepositoryMetadata withName(String name)
The name of the Amazon ECR repository.
name
- The name of the Amazon ECR repository.public void setScanFrequency(String scanFrequency)
The frequency of scans.
scanFrequency
- The frequency of scans.EcrScanFrequency
public String getScanFrequency()
The frequency of scans.
EcrScanFrequency
public EcrRepositoryMetadata withScanFrequency(String scanFrequency)
The frequency of scans.
scanFrequency
- The frequency of scans.EcrScanFrequency
public EcrRepositoryMetadata withScanFrequency(EcrScanFrequency scanFrequency)
The frequency of scans.
scanFrequency
- The frequency of scans.EcrScanFrequency
public String toString()
toString
in class Object
Object.toString()
public EcrRepositoryMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.