public class BatchGetApplicationRevisionsResult extends Object implements Serializable, Cloneable
Represents the output of a batch get application revisions operation.
Constructor and Description |
---|
BatchGetApplicationRevisionsResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetApplicationRevisionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationName()
The name of the application that corresponds to the revisions.
|
String |
getErrorMessage()
Information about errors that may have occurred during the API call.
|
List<RevisionInfo> |
getRevisions()
Additional information about the revisions, including the type and
location.
|
int |
hashCode() |
void |
setApplicationName(String applicationName)
The name of the application that corresponds to the revisions.
|
void |
setErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
|
void |
setRevisions(Collection<RevisionInfo> revisions)
Additional information about the revisions, including the type and
location.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetApplicationRevisionsResult |
withApplicationName(String applicationName)
The name of the application that corresponds to the revisions.
|
BatchGetApplicationRevisionsResult |
withErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
|
BatchGetApplicationRevisionsResult |
withRevisions(Collection<RevisionInfo> revisions)
Additional information about the revisions, including the type and
location.
|
BatchGetApplicationRevisionsResult |
withRevisions(RevisionInfo... revisions)
Additional information about the revisions, including the type and
location.
|
public void setApplicationName(String applicationName)
The name of the application that corresponds to the revisions.
applicationName
- The name of the application that corresponds to the revisions.public String getApplicationName()
The name of the application that corresponds to the revisions.
public BatchGetApplicationRevisionsResult withApplicationName(String applicationName)
The name of the application that corresponds to the revisions.
applicationName
- The name of the application that corresponds to the revisions.public void setErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
errorMessage
- Information about errors that may have occurred during the API
call.public String getErrorMessage()
Information about errors that may have occurred during the API call.
public BatchGetApplicationRevisionsResult withErrorMessage(String errorMessage)
Information about errors that may have occurred during the API call.
errorMessage
- Information about errors that may have occurred during the API
call.public List<RevisionInfo> getRevisions()
Additional information about the revisions, including the type and location.
public void setRevisions(Collection<RevisionInfo> revisions)
Additional information about the revisions, including the type and location.
revisions
- Additional information about the revisions, including the type and
location.public BatchGetApplicationRevisionsResult withRevisions(RevisionInfo... revisions)
Additional information about the revisions, including the type and location.
NOTE: This method appends the values to the existing list (if
any). Use setRevisions(java.util.Collection)
or
withRevisions(java.util.Collection)
if you want to override the
existing values.
revisions
- Additional information about the revisions, including the type and
location.public BatchGetApplicationRevisionsResult withRevisions(Collection<RevisionInfo> revisions)
Additional information about the revisions, including the type and location.
revisions
- Additional information about the revisions, including the type and
location.public String toString()
toString
in class Object
Object.toString()
public BatchGetApplicationRevisionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.