public class BatchGetApplicationRevisionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output of a batch get application revisions operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applicationName
The name of the application that corresponds to the revisions.
|
private java.lang.String |
errorMessage
Information about errors that may have occurred during the API call.
|
private SdkInternalList<RevisionInfo> |
revisions
Additional information about the revisions, including the type and
location.
|
Constructor and Description |
---|
BatchGetApplicationRevisionsResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetApplicationRevisionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationName()
The name of the application that corresponds to the revisions.
|
java.lang.String |
getErrorMessage()
Information about errors that may have occurred during the API call.
|
java.util.List<RevisionInfo> |
getRevisions()
Additional information about the revisions, including the type and
location.
|
int |
hashCode() |
void |
setApplicationName(java.lang.String applicationName)
The name of the application that corresponds to the revisions.
|
void |
setErrorMessage(java.lang.String errorMessage)
Information about errors that may have occurred during the API call.
|
void |
setRevisions(java.util.Collection<RevisionInfo> revisions)
Additional information about the revisions, including the type and
location.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetApplicationRevisionsResult |
withApplicationName(java.lang.String applicationName)
The name of the application that corresponds to the revisions.
|
BatchGetApplicationRevisionsResult |
withErrorMessage(java.lang.String errorMessage)
Information about errors that may have occurred during the API call.
|
BatchGetApplicationRevisionsResult |
withRevisions(java.util.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.
|
private java.lang.String applicationName
The name of the application that corresponds to the revisions.
private java.lang.String errorMessage
Information about errors that may have occurred during the API call.
private SdkInternalList<RevisionInfo> revisions
Additional information about the revisions, including the type and location.
public void setApplicationName(java.lang.String applicationName)
The name of the application that corresponds to the revisions.
applicationName
- The name of the application that corresponds to the revisions.public java.lang.String getApplicationName()
The name of the application that corresponds to the revisions.
public BatchGetApplicationRevisionsResult withApplicationName(java.lang.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(java.lang.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 java.lang.String getErrorMessage()
Information about errors that may have occurred during the API call.
public BatchGetApplicationRevisionsResult withErrorMessage(java.lang.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 java.util.List<RevisionInfo> getRevisions()
Additional information about the revisions, including the type and location.
public void setRevisions(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public BatchGetApplicationRevisionsResult clone()
clone
in class java.lang.Object