@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAvailablePatchesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAvailablePatchesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAvailablePatchesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of items.
|
List<Patch> |
getPatches()
An array of patches.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setPatches(Collection<Patch> patches)
An array of patches.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeAvailablePatchesResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
DescribeAvailablePatchesResult |
withPatches(Collection<Patch> patches)
An array of patches.
|
DescribeAvailablePatchesResult |
withPatches(Patch... patches)
An array of patches.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Patch> getPatches()
An array of patches. Each entry in the array is a patch structure.
public void setPatches(Collection<Patch> patches)
An array of patches. Each entry in the array is a patch structure.
patches
- An array of patches. Each entry in the array is a patch structure.public DescribeAvailablePatchesResult withPatches(Patch... patches)
An array of patches. Each entry in the array is a patch structure.
NOTE: This method appends the values to the existing list (if any). Use
setPatches(java.util.Collection)
or withPatches(java.util.Collection)
if you want to override
the existing values.
patches
- An array of patches. Each entry in the array is a patch structure.public DescribeAvailablePatchesResult withPatches(Collection<Patch> patches)
An array of patches. Each entry in the array is a patch structure.
patches
- An array of patches. Each entry in the array is a patch structure.public void setNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String getNextToken()
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
public DescribeAvailablePatchesResult withNextToken(String nextToken)
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the
string is empty.public String toString()
toString
in class Object
Object.toString()
public DescribeAvailablePatchesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.