@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyPreviewResult extends Object implements Serializable, Cloneable, StructuredPojo
The result of the lifecycle policy preview.
Constructor and Description |
---|
LifecyclePolicyPreviewResult() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyPreviewResult |
clone() |
boolean |
equals(Object obj) |
LifecyclePolicyRuleAction |
getAction()
The type of action to be taken.
|
Integer |
getAppliedRulePriority()
The priority of the applied rule.
|
String |
getImageDigest()
The
sha256 digest of the image manifest. |
Date |
getImagePushedAt()
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the
repository.
|
List<String> |
getImageTags()
The list of tags associated with this image.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(LifecyclePolicyRuleAction action)
The type of action to be taken.
|
void |
setAppliedRulePriority(Integer appliedRulePriority)
The priority of the applied rule.
|
void |
setImageDigest(String imageDigest)
The
sha256 digest of the image manifest. |
void |
setImagePushedAt(Date imagePushedAt)
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the
repository.
|
void |
setImageTags(Collection<String> imageTags)
The list of tags associated with this image.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
LifecyclePolicyPreviewResult |
withAction(LifecyclePolicyRuleAction action)
The type of action to be taken.
|
LifecyclePolicyPreviewResult |
withAppliedRulePriority(Integer appliedRulePriority)
The priority of the applied rule.
|
LifecyclePolicyPreviewResult |
withImageDigest(String imageDigest)
The
sha256 digest of the image manifest. |
LifecyclePolicyPreviewResult |
withImagePushedAt(Date imagePushedAt)
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the
repository.
|
LifecyclePolicyPreviewResult |
withImageTags(Collection<String> imageTags)
The list of tags associated with this image.
|
LifecyclePolicyPreviewResult |
withImageTags(String... imageTags)
The list of tags associated with this image.
|
public List<String> getImageTags()
The list of tags associated with this image.
public void setImageTags(Collection<String> imageTags)
The list of tags associated with this image.
imageTags
- The list of tags associated with this image.public LifecyclePolicyPreviewResult withImageTags(String... imageTags)
The list of tags associated with this image.
NOTE: This method appends the values to the existing list (if any). Use
setImageTags(java.util.Collection)
or withImageTags(java.util.Collection)
if you want to
override the existing values.
imageTags
- The list of tags associated with this image.public LifecyclePolicyPreviewResult withImageTags(Collection<String> imageTags)
The list of tags associated with this image.
imageTags
- The list of tags associated with this image.public void setImageDigest(String imageDigest)
The sha256
digest of the image manifest.
imageDigest
- The sha256
digest of the image manifest.public String getImageDigest()
The sha256
digest of the image manifest.
sha256
digest of the image manifest.public LifecyclePolicyPreviewResult withImageDigest(String imageDigest)
The sha256
digest of the image manifest.
imageDigest
- The sha256
digest of the image manifest.public void setImagePushedAt(Date imagePushedAt)
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
imagePushedAt
- The date and time, expressed in standard JavaScript date format, at which the current image was pushed to
the repository.public Date getImagePushedAt()
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
public LifecyclePolicyPreviewResult withImagePushedAt(Date imagePushedAt)
The date and time, expressed in standard JavaScript date format, at which the current image was pushed to the repository.
imagePushedAt
- The date and time, expressed in standard JavaScript date format, at which the current image was pushed to
the repository.public void setAction(LifecyclePolicyRuleAction action)
The type of action to be taken.
action
- The type of action to be taken.public LifecyclePolicyRuleAction getAction()
The type of action to be taken.
public LifecyclePolicyPreviewResult withAction(LifecyclePolicyRuleAction action)
The type of action to be taken.
action
- The type of action to be taken.public void setAppliedRulePriority(Integer appliedRulePriority)
The priority of the applied rule.
appliedRulePriority
- The priority of the applied rule.public Integer getAppliedRulePriority()
The priority of the applied rule.
public LifecyclePolicyPreviewResult withAppliedRulePriority(Integer appliedRulePriority)
The priority of the applied rule.
appliedRulePriority
- The priority of the applied rule.public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicyPreviewResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.