@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcrRepositoryLifecyclePolicyDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about the lifecycle policy for the repository.
Constructor and Description |
---|
AwsEcrRepositoryLifecyclePolicyDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcrRepositoryLifecyclePolicyDetails |
clone() |
boolean |
equals(Object obj) |
String |
getLifecyclePolicyText()
The text of the lifecycle policy.
|
String |
getRegistryId()
The Amazon Web Services account identifier that is associated with the registry that contains the repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLifecyclePolicyText(String lifecyclePolicyText)
The text of the lifecycle policy.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account identifier that is associated with the registry that contains the repository.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcrRepositoryLifecyclePolicyDetails |
withLifecyclePolicyText(String lifecyclePolicyText)
The text of the lifecycle policy.
|
AwsEcrRepositoryLifecyclePolicyDetails |
withRegistryId(String registryId)
The Amazon Web Services account identifier that is associated with the registry that contains the repository.
|
public AwsEcrRepositoryLifecyclePolicyDetails()
public void setLifecyclePolicyText(String lifecyclePolicyText)
The text of the lifecycle policy.
lifecyclePolicyText
- The text of the lifecycle policy.public String getLifecyclePolicyText()
The text of the lifecycle policy.
public AwsEcrRepositoryLifecyclePolicyDetails withLifecyclePolicyText(String lifecyclePolicyText)
The text of the lifecycle policy.
lifecyclePolicyText
- The text of the lifecycle policy.public void setRegistryId(String registryId)
The Amazon Web Services account identifier that is associated with the registry that contains the repository.
registryId
- The Amazon Web Services account identifier that is associated with the registry that contains the
repository.public String getRegistryId()
The Amazon Web Services account identifier that is associated with the registry that contains the repository.
public AwsEcrRepositoryLifecyclePolicyDetails withRegistryId(String registryId)
The Amazon Web Services account identifier that is associated with the registry that contains the repository.
registryId
- The Amazon Web Services account identifier that is associated with the registry that contains the
repository.public String toString()
toString
in class Object
Object.toString()
public AwsEcrRepositoryLifecyclePolicyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.