@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GenericRevisionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about an application revision.
Constructor and Description |
---|
GenericRevisionInfo() |
Modifier and Type | Method and Description |
---|---|
GenericRevisionInfo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDeploymentGroups()
The deployment groups for which this is the current target 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeploymentGroups(Collection<String> deploymentGroups)
The deployment groups for which this is the current target 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)
The deployment groups for which this is the current target revision.
|
GenericRevisionInfo |
withDeploymentGroups(String... deploymentGroups)
The deployment groups for which this is the current target 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()
The deployment groups for which this is the current target revision.
public void setDeploymentGroups(Collection<String> deploymentGroups)
The deployment groups for which this is the current target revision.
deploymentGroups
- The deployment groups for which this is the current target revision.public GenericRevisionInfo withDeploymentGroups(String... deploymentGroups)
The deployment groups for which this is the current target revision.
NOTE: This method appends the values to the existing list (if any). Use
setDeploymentGroups(java.util.Collection)
or withDeploymentGroups(java.util.Collection)
if you
want to override the existing values.
deploymentGroups
- The deployment groups for which this is the current target revision.public GenericRevisionInfo withDeploymentGroups(Collection<String> deploymentGroups)
The deployment groups for which this is the current target revision.
deploymentGroups
- The deployment groups for which this is the current target 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()
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.