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