@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCanariesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCanariesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCanariesResult |
clone() |
boolean |
equals(Object obj) |
List<Canary> |
getCanaries()
Returns an array.
|
String |
getNextToken()
A token that indicates that there is more data available.
|
int |
hashCode() |
void |
setCanaries(Collection<Canary> canaries)
Returns an array.
|
void |
setNextToken(String nextToken)
A token that indicates that there is more data available.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCanariesResult |
withCanaries(Canary... canaries)
Returns an array.
|
DescribeCanariesResult |
withCanaries(Collection<Canary> canaries)
Returns an array.
|
DescribeCanariesResult |
withNextToken(String nextToken)
A token that indicates that there is more data available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Canary> getCanaries()
Returns an array. Each item in the array contains the full information about one canary.
public void setCanaries(Collection<Canary> canaries)
Returns an array. Each item in the array contains the full information about one canary.
canaries
- Returns an array. Each item in the array contains the full information about one canary.public DescribeCanariesResult withCanaries(Canary... canaries)
Returns an array. Each item in the array contains the full information about one canary.
NOTE: This method appends the values to the existing list (if any). Use
setCanaries(java.util.Collection)
or withCanaries(java.util.Collection)
if you want to override
the existing values.
canaries
- Returns an array. Each item in the array contains the full information about one canary.public DescribeCanariesResult withCanaries(Collection<Canary> canaries)
Returns an array. Each item in the array contains the full information about one canary.
canaries
- Returns an array. Each item in the array contains the full information about one canary.public void setNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanaries
operation to retrieve the next set of results.
nextToken
- A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanaries
operation to retrieve the next set of results.public String getNextToken()
A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanaries
operation to retrieve the next set of results.
DescribeCanaries
operation to retrieve the next set of results.public DescribeCanariesResult withNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanaries
operation to retrieve the next set of results.
nextToken
- A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanaries
operation to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public DescribeCanariesResult clone()