Class GenericRevisionInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Information about an application revision.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The deployment groups for which this is the current target revision.A comment about the revision.When the revision was first used by AWS CodeDeploy.When the revision was last used by AWS CodeDeploy.When the revision was registered with AWS CodeDeploy.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withDeploymentGroups
(String... deploymentGroups) The deployment groups for which this is the current target revision.withDeploymentGroups
(Collection<String> deploymentGroups) The deployment groups for which this is the current target revision.withDescription
(String description) A comment about the revision.withFirstUsedTime
(Date firstUsedTime) When the revision was first used by AWS CodeDeploy.withLastUsedTime
(Date lastUsedTime) When the revision was last used by AWS CodeDeploy.withRegisterTime
(Date registerTime) When the revision was registered with AWS CodeDeploy.
-
Constructor Details
-
GenericRevisionInfo
public GenericRevisionInfo()
-
-
Method Details
-
setDescription
A comment about the revision.
- Parameters:
description
- A comment about the revision.
-
getDescription
A comment about the revision.
- Returns:
- A comment about the revision.
-
withDescription
A comment about the revision.
- Parameters:
description
- A comment about the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDeploymentGroups
The deployment groups for which this is the current target revision.
- Returns:
- The deployment groups for which this is the current target revision.
-
setDeploymentGroups
The deployment groups for which this is the current target revision.
- Parameters:
deploymentGroups
- The deployment groups for which this is the current target revision.
-
withDeploymentGroups
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)
orwithDeploymentGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
deploymentGroups
- The deployment groups for which this is the current target revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDeploymentGroups
The deployment groups for which this is the current target revision.
- Parameters:
deploymentGroups
- The deployment groups for which this is the current target revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFirstUsedTime
When the revision was first used by AWS CodeDeploy.
- Parameters:
firstUsedTime
- When the revision was first used by AWS CodeDeploy.
-
getFirstUsedTime
When the revision was first used by AWS CodeDeploy.
- Returns:
- When the revision was first used by AWS CodeDeploy.
-
withFirstUsedTime
When the revision was first used by AWS CodeDeploy.
- Parameters:
firstUsedTime
- When the revision was first used by AWS CodeDeploy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastUsedTime
When the revision was last used by AWS CodeDeploy.
- Parameters:
lastUsedTime
- When the revision was last used by AWS CodeDeploy.
-
getLastUsedTime
When the revision was last used by AWS CodeDeploy.
- Returns:
- When the revision was last used by AWS CodeDeploy.
-
withLastUsedTime
When the revision was last used by AWS CodeDeploy.
- Parameters:
lastUsedTime
- When the revision was last used by AWS CodeDeploy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRegisterTime
When the revision was registered with AWS CodeDeploy.
- Parameters:
registerTime
- When the revision was registered with AWS CodeDeploy.
-
getRegisterTime
When the revision was registered with AWS CodeDeploy.
- Returns:
- When the revision was registered with AWS CodeDeploy.
-
withRegisterTime
When the revision was registered with AWS CodeDeploy.
- Parameters:
registerTime
- When the revision was registered with AWS CodeDeploy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-