@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceEventWindowsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInstanceEventWindowsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceEventWindowsResult |
clone() |
boolean |
equals(Object obj) |
List<InstanceEventWindow> |
getInstanceEventWindows()
Information about the event windows.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setInstanceEventWindows(Collection<InstanceEventWindow> instanceEventWindows)
Information about the event windows.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceEventWindowsResult |
withInstanceEventWindows(Collection<InstanceEventWindow> instanceEventWindows)
Information about the event windows.
|
DescribeInstanceEventWindowsResult |
withInstanceEventWindows(InstanceEventWindow... instanceEventWindows)
Information about the event windows.
|
DescribeInstanceEventWindowsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InstanceEventWindow> getInstanceEventWindows()
Information about the event windows.
public void setInstanceEventWindows(Collection<InstanceEventWindow> instanceEventWindows)
Information about the event windows.
instanceEventWindows
- Information about the event windows.public DescribeInstanceEventWindowsResult withInstanceEventWindows(InstanceEventWindow... instanceEventWindows)
Information about the event windows.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceEventWindows(java.util.Collection)
or withInstanceEventWindows(java.util.Collection)
if you want to override the existing values.
instanceEventWindows
- Information about the event windows.public DescribeInstanceEventWindowsResult withInstanceEventWindows(Collection<InstanceEventWindow> instanceEventWindows)
Information about the event windows.
instanceEventWindows
- Information about the event windows.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeInstanceEventWindowsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceEventWindowsResult clone()