@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListImagePackagesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListImagePackagesResult() |
Modifier and Type | Method and Description |
---|---|
ListImagePackagesResult |
clone() |
boolean |
equals(Object obj) |
List<ImagePackage> |
getImagePackageList()
The list of Image Packages returned in the response.
|
String |
getNextToken()
The next token used for paginated responses.
|
String |
getRequestId()
The request ID that uniquely identifies this request.
|
int |
hashCode() |
void |
setImagePackageList(Collection<ImagePackage> imagePackageList)
The list of Image Packages returned in the response.
|
void |
setNextToken(String nextToken)
The next token used for paginated responses.
|
void |
setRequestId(String requestId)
The request ID that uniquely identifies this request.
|
String |
toString()
Returns a string representation of this object.
|
ListImagePackagesResult |
withImagePackageList(Collection<ImagePackage> imagePackageList)
The list of Image Packages returned in the response.
|
ListImagePackagesResult |
withImagePackageList(ImagePackage... imagePackageList)
The list of Image Packages returned in the response.
|
ListImagePackagesResult |
withNextToken(String nextToken)
The next token used for paginated responses.
|
ListImagePackagesResult |
withRequestId(String requestId)
The request ID that uniquely identifies this request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public String getRequestId()
The request ID that uniquely identifies this request.
public ListImagePackagesResult withRequestId(String requestId)
The request ID that uniquely identifies this request.
requestId
- The request ID that uniquely identifies this request.public List<ImagePackage> getImagePackageList()
The list of Image Packages returned in the response.
public void setImagePackageList(Collection<ImagePackage> imagePackageList)
The list of Image Packages returned in the response.
imagePackageList
- The list of Image Packages returned in the response.public ListImagePackagesResult withImagePackageList(ImagePackage... imagePackageList)
The list of Image Packages returned in the response.
NOTE: This method appends the values to the existing list (if any). Use
setImagePackageList(java.util.Collection)
or withImagePackageList(java.util.Collection)
if you
want to override the existing values.
imagePackageList
- The list of Image Packages returned in the response.public ListImagePackagesResult withImagePackageList(Collection<ImagePackage> imagePackageList)
The list of Image Packages returned in the response.
imagePackageList
- The list of Image Packages returned in the response.public void setNextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements
that the service hasn't included in this request. Use this token with the next request to retrieve
additional objects.public String getNextToken()
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
public ListImagePackagesResult withNextToken(String nextToken)
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements
that the service hasn't included in this request. Use this token with the next request to retrieve
additional objects.public String toString()
toString
in class Object
Object.toString()
public ListImagePackagesResult clone()