@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CurrentRevision extends Object implements Serializable, Cloneable
Represents information about a current revision.
Constructor and Description |
---|
CurrentRevision() |
Modifier and Type | Method and Description |
---|---|
CurrentRevision |
clone() |
boolean |
equals(Object obj) |
String |
getChangeIdentifier()
The change identifier for the current revision.
|
Date |
getCreated()
The date and time when the most recent revision of the artifact was created, in timestamp format.
|
String |
getRevision()
The revision ID of the current version of an artifact.
|
String |
getRevisionSummary()
The summary of the most recent revision of the artifact.
|
int |
hashCode() |
void |
setChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.
|
void |
setCreated(Date created)
The date and time when the most recent revision of the artifact was created, in timestamp format.
|
void |
setRevision(String revision)
The revision ID of the current version of an artifact.
|
void |
setRevisionSummary(String revisionSummary)
The summary of the most recent revision of the artifact.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CurrentRevision |
withChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.
|
CurrentRevision |
withCreated(Date created)
The date and time when the most recent revision of the artifact was created, in timestamp format.
|
CurrentRevision |
withRevision(String revision)
The revision ID of the current version of an artifact.
|
CurrentRevision |
withRevisionSummary(String revisionSummary)
The summary of the most recent revision of the artifact.
|
public void setRevision(String revision)
The revision ID of the current version of an artifact.
revision
- The revision ID of the current version of an artifact.public String getRevision()
The revision ID of the current version of an artifact.
public CurrentRevision withRevision(String revision)
The revision ID of the current version of an artifact.
revision
- The revision ID of the current version of an artifact.public void setChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.
changeIdentifier
- The change identifier for the current revision.public String getChangeIdentifier()
The change identifier for the current revision.
public CurrentRevision withChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.
changeIdentifier
- The change identifier for the current revision.public void setCreated(Date created)
The date and time when the most recent revision of the artifact was created, in timestamp format.
created
- The date and time when the most recent revision of the artifact was created, in timestamp format.public Date getCreated()
The date and time when the most recent revision of the artifact was created, in timestamp format.
public CurrentRevision withCreated(Date created)
The date and time when the most recent revision of the artifact was created, in timestamp format.
created
- The date and time when the most recent revision of the artifact was created, in timestamp format.public void setRevisionSummary(String revisionSummary)
The summary of the most recent revision of the artifact.
revisionSummary
- The summary of the most recent revision of the artifact.public String getRevisionSummary()
The summary of the most recent revision of the artifact.
public CurrentRevision withRevisionSummary(String revisionSummary)
The summary of the most recent revision of the artifact.
revisionSummary
- The summary of the most recent revision of the artifact.public String toString()
toString
in class Object
Object.toString()
public CurrentRevision clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.