@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeMaintenanceWindowTargetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeMaintenanceWindowTargetsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeMaintenanceWindowTargetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of items.
|
List<MaintenanceWindowTarget> |
getTargets()
Information about the targets in the Maintenance Window.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setTargets(Collection<MaintenanceWindowTarget> targets)
Information about the targets in the Maintenance Window.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeMaintenanceWindowTargetsResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
DescribeMaintenanceWindowTargetsResult |
withTargets(Collection<MaintenanceWindowTarget> targets)
Information about the targets in the Maintenance Window.
|
DescribeMaintenanceWindowTargetsResult |
withTargets(MaintenanceWindowTarget... targets)
Information about the targets in the Maintenance Window.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeMaintenanceWindowTargetsResult()
public List<MaintenanceWindowTarget> getTargets()
Information about the targets in the Maintenance Window.
public void setTargets(Collection<MaintenanceWindowTarget> targets)
Information about the targets in the Maintenance Window.
targets
- Information about the targets in the Maintenance Window.public DescribeMaintenanceWindowTargetsResult withTargets(MaintenanceWindowTarget... targets)
Information about the targets in the Maintenance Window.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- Information about the targets in the Maintenance Window.public DescribeMaintenanceWindowTargetsResult withTargets(Collection<MaintenanceWindowTarget> targets)
Information about the targets in the Maintenance Window.
targets
- Information about the targets in the Maintenance Window.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 DescribeMaintenanceWindowTargetsResult 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 DescribeMaintenanceWindowTargetsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.