public class GenericRevisionInfo extends Object implements Serializable, Cloneable
Information about an application revision.
Constructor and Description |
---|
GenericRevisionInfo() |
Modifier and Type | Method and Description |
---|---|
GenericRevisionInfo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDeploymentGroups()
A list of deployment groups that use this revision.
|
String |
getDescription()
A comment about the revision.
|
Date |
getFirstUsedTime()
When the revision was first used by AWS CodeDeploy.
|
Date |
getLastUsedTime()
When the revision was last used by AWS CodeDeploy.
|
Date |
getRegisterTime()
When the revision was registered with AWS CodeDeploy.
|
int |
hashCode() |
void |
setDeploymentGroups(Collection<String> deploymentGroups)
A list of deployment groups that use this revision.
|
void |
setDescription(String description)
A comment about the revision.
|
void |
setFirstUsedTime(Date firstUsedTime)
When the revision was first used by AWS CodeDeploy.
|
void |
setLastUsedTime(Date lastUsedTime)
When the revision was last used by AWS CodeDeploy.
|
void |
setRegisterTime(Date registerTime)
When the revision was registered with AWS CodeDeploy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenericRevisionInfo |
withDeploymentGroups(Collection<String> deploymentGroups)
A list of deployment groups that use this revision.
|
GenericRevisionInfo |
withDeploymentGroups(String... deploymentGroups)
A list of deployment groups that use this revision.
|
GenericRevisionInfo |
withDescription(String description)
A comment about the revision.
|
GenericRevisionInfo |
withFirstUsedTime(Date firstUsedTime)
When the revision was first used by AWS CodeDeploy.
|
GenericRevisionInfo |
withLastUsedTime(Date lastUsedTime)
When the revision was last used by AWS CodeDeploy.
|
GenericRevisionInfo |
withRegisterTime(Date registerTime)
When the revision was registered with AWS CodeDeploy.
|
public void setDescription(String description)
A comment about the revision.
description
- A comment about the revision.public String getDescription()
A comment about the revision.
public GenericRevisionInfo withDescription(String description)
A comment about the revision.
description
- A comment about the revision.public List<String> getDeploymentGroups()
A list of deployment groups that use this revision.
public void setDeploymentGroups(Collection<String> deploymentGroups)
A list of deployment groups that use this revision.
deploymentGroups
- A list of deployment groups that use this revision.public GenericRevisionInfo withDeploymentGroups(String... deploymentGroups)
A list of deployment groups that use this revision.
deploymentGroups
- A list of deployment groups that use this revision.public GenericRevisionInfo withDeploymentGroups(Collection<String> deploymentGroups)
A list of deployment groups that use this revision.
deploymentGroups
- A list of deployment groups that use this revision.public void setFirstUsedTime(Date firstUsedTime)
When the revision was first used by AWS CodeDeploy.
firstUsedTime
- When the revision was first used by AWS CodeDeploy.public Date getFirstUsedTime()
When the revision was first used by AWS CodeDeploy.
public GenericRevisionInfo withFirstUsedTime(Date firstUsedTime)
When the revision was first used by AWS CodeDeploy.
firstUsedTime
- When the revision was first used by AWS CodeDeploy.public void setLastUsedTime(Date lastUsedTime)
When the revision was last used by AWS CodeDeploy.
lastUsedTime
- When the revision was last used by AWS CodeDeploy.public Date getLastUsedTime()
When the revision was last used by AWS CodeDeploy.
public GenericRevisionInfo withLastUsedTime(Date lastUsedTime)
When the revision was last used by AWS CodeDeploy.
lastUsedTime
- When the revision was last used by AWS CodeDeploy.public void setRegisterTime(Date registerTime)
When the revision was registered with AWS CodeDeploy.
registerTime
- When the revision was registered with AWS CodeDeploy.public Date getRegisterTime()
When the revision was registered with AWS CodeDeploy.
public GenericRevisionInfo withRegisterTime(Date registerTime)
When the revision was registered with AWS CodeDeploy.
registerTime
- When the revision was registered with AWS CodeDeploy.public String toString()
toString
in class Object
Object.toString()
public GenericRevisionInfo clone()
Copyright © 2015. All rights reserved.