@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeMaintenanceWindowTasksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeMaintenanceWindowTasksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeMaintenanceWindowTasksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use when requesting the next set of items.
|
List<MaintenanceWindowTask> |
getTasks()
Information about the tasks in the maintenance window.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use when requesting the next set of items.
|
void |
setTasks(Collection<MaintenanceWindowTask> tasks)
Information about the tasks in the maintenance window.
|
String |
toString()
Returns a string representation of this object.
|
DescribeMaintenanceWindowTasksResult |
withNextToken(String nextToken)
The token to use when requesting the next set of items.
|
DescribeMaintenanceWindowTasksResult |
withTasks(Collection<MaintenanceWindowTask> tasks)
Information about the tasks in the maintenance window.
|
DescribeMaintenanceWindowTasksResult |
withTasks(MaintenanceWindowTask... tasks)
Information about the tasks in the maintenance window.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeMaintenanceWindowTasksResult()
public List<MaintenanceWindowTask> getTasks()
Information about the tasks in the maintenance window.
public void setTasks(Collection<MaintenanceWindowTask> tasks)
Information about the tasks in the maintenance window.
tasks
- Information about the tasks in the maintenance window.public DescribeMaintenanceWindowTasksResult withTasks(MaintenanceWindowTask... tasks)
Information about the tasks in the maintenance window.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection)
or withTasks(java.util.Collection)
if you want to override the
existing values.
tasks
- Information about the tasks in the maintenance window.public DescribeMaintenanceWindowTasksResult withTasks(Collection<MaintenanceWindowTask> tasks)
Information about the tasks in the maintenance window.
tasks
- Information about the tasks 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 DescribeMaintenanceWindowTasksResult 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 DescribeMaintenanceWindowTasksResult clone()