public class GenericRevisionInfo extends Object implements Serializable
Information about an application revision.
Constructor and Description |
---|
GenericRevisionInfo() |
Modifier and Type | Method and Description |
---|---|
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 String getDescription()
public void setDescription(String description)
description
- A comment about the revision.public GenericRevisionInfo withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- A comment about the revision.public List<String> getDeploymentGroups()
public void setDeploymentGroups(Collection<String> deploymentGroups)
deploymentGroups
- A list of deployment groups that use this revision.public GenericRevisionInfo withDeploymentGroups(String... deploymentGroups)
Returns a reference to this object so that method calls can be chained together.
deploymentGroups
- A list of deployment groups that use this revision.public GenericRevisionInfo withDeploymentGroups(Collection<String> deploymentGroups)
Returns a reference to this object so that method calls can be chained together.
deploymentGroups
- A list of deployment groups that use this revision.public Date getFirstUsedTime()
public void setFirstUsedTime(Date firstUsedTime)
firstUsedTime
- When the revision was first used by AWS CodeDeploy.public GenericRevisionInfo withFirstUsedTime(Date firstUsedTime)
Returns a reference to this object so that method calls can be chained together.
firstUsedTime
- When the revision was first used by AWS CodeDeploy.public Date getLastUsedTime()
public void setLastUsedTime(Date lastUsedTime)
lastUsedTime
- When the revision was last used by AWS CodeDeploy.public GenericRevisionInfo withLastUsedTime(Date lastUsedTime)
Returns a reference to this object so that method calls can be chained together.
lastUsedTime
- When the revision was last used by AWS CodeDeploy.public Date getRegisterTime()
public void setRegisterTime(Date registerTime)
registerTime
- When the revision was registered with AWS CodeDeploy.public GenericRevisionInfo withRegisterTime(Date registerTime)
Returns a reference to this object so that method calls can be chained together.
registerTime
- When the revision was registered with AWS CodeDeploy.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.