@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPackageVersionHistoryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for response returned by GetPackageVersionHistory
operation.
Constructor and Description |
---|
GetPackageVersionHistoryResult() |
Modifier and Type | Method and Description |
---|---|
GetPackageVersionHistoryResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When
nextToken is returned, there are more results available. |
String |
getPackageID()
The unique identifier of the package.
|
List<PackageVersionHistory> |
getPackageVersionHistoryList()
A list of package versions, along with their creation time and commit message.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
void |
setPackageID(String packageID)
The unique identifier of the package.
|
void |
setPackageVersionHistoryList(Collection<PackageVersionHistory> packageVersionHistoryList)
A list of package versions, along with their creation time and commit message.
|
String |
toString()
Returns a string representation of this object.
|
GetPackageVersionHistoryResult |
withNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
GetPackageVersionHistoryResult |
withPackageID(String packageID)
The unique identifier of the package.
|
GetPackageVersionHistoryResult |
withPackageVersionHistoryList(Collection<PackageVersionHistory> packageVersionHistoryList)
A list of package versions, along with their creation time and commit message.
|
GetPackageVersionHistoryResult |
withPackageVersionHistoryList(PackageVersionHistory... packageVersionHistoryList)
A list of package versions, along with their creation time and commit message.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPackageID(String packageID)
The unique identifier of the package.
packageID
- The unique identifier of the package.public String getPackageID()
The unique identifier of the package.
public GetPackageVersionHistoryResult withPackageID(String packageID)
The unique identifier of the package.
packageID
- The unique identifier of the package.public List<PackageVersionHistory> getPackageVersionHistoryList()
A list of package versions, along with their creation time and commit message.
public void setPackageVersionHistoryList(Collection<PackageVersionHistory> packageVersionHistoryList)
A list of package versions, along with their creation time and commit message.
packageVersionHistoryList
- A list of package versions, along with their creation time and commit message.public GetPackageVersionHistoryResult withPackageVersionHistoryList(PackageVersionHistory... packageVersionHistoryList)
A list of package versions, along with their creation time and commit message.
NOTE: This method appends the values to the existing list (if any). Use
setPackageVersionHistoryList(java.util.Collection)
or
withPackageVersionHistoryList(java.util.Collection)
if you want to override the existing values.
packageVersionHistoryList
- A list of package versions, along with their creation time and commit message.public GetPackageVersionHistoryResult withPackageVersionHistoryList(Collection<PackageVersionHistory> packageVersionHistoryList)
A list of package versions, along with their creation time and commit message.
packageVersionHistoryList
- A list of package versions, along with their creation time and commit message.public void setNextToken(String nextToken)
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Send the request again using the returned token to retrieve the next
page.
nextToken
- When nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Send the request again using the
returned token to retrieve the next page.public String getNextToken()
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Send the request again using the returned token to retrieve the next
page.
nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Send the request again using the
returned token to retrieve the next page.public GetPackageVersionHistoryResult withNextToken(String nextToken)
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Send the request again using the returned token to retrieve the next
page.
nextToken
- When nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Send the request again using the
returned token to retrieve the next page.public String toString()
toString
in class Object
Object.toString()
public GetPackageVersionHistoryResult clone()