@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCanariesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeCanariesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeCanariesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Specify this parameter to limit how many canaries are returned each time you use the
DescribeCanaries operation. |
List<String> |
getNames()
Use this parameter to return only canaries that match the names that you specify here.
|
String |
getNextToken()
A token that indicates that there is more data available.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Specify this parameter to limit how many canaries are returned each time you use the
DescribeCanaries operation. |
void |
setNames(Collection<String> names)
Use this parameter to return only canaries that match the names that you specify here.
|
void |
setNextToken(String nextToken)
A token that indicates that there is more data available.
|
String |
toString()
Returns a string representation of this object.
|
DescribeCanariesRequest |
withMaxResults(Integer maxResults)
Specify this parameter to limit how many canaries are returned each time you use the
DescribeCanaries operation. |
DescribeCanariesRequest |
withNames(Collection<String> names)
Use this parameter to return only canaries that match the names that you specify here.
|
DescribeCanariesRequest |
withNames(String... names)
Use this parameter to return only canaries that match the names that you specify here.
|
DescribeCanariesRequest |
withNextToken(String nextToken)
A token that indicates that there is more data available.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent 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 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 operation to retrieve the next set of results.
public DescribeCanariesRequest withNextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent 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 operation
to retrieve the next set of results.public void setMaxResults(Integer maxResults)
Specify this parameter to limit how many canaries are returned each time you use the
DescribeCanaries
operation. If you omit this parameter, the default of 100 is used.
maxResults
- Specify this parameter to limit how many canaries are returned each time you use the
DescribeCanaries
operation. If you omit this parameter, the default of 100 is used.public Integer getMaxResults()
Specify this parameter to limit how many canaries are returned each time you use the
DescribeCanaries
operation. If you omit this parameter, the default of 100 is used.
DescribeCanaries
operation. If you omit this parameter, the default of 100 is used.public DescribeCanariesRequest withMaxResults(Integer maxResults)
Specify this parameter to limit how many canaries are returned each time you use the
DescribeCanaries
operation. If you omit this parameter, the default of 100 is used.
maxResults
- Specify this parameter to limit how many canaries are returned each time you use the
DescribeCanaries
operation. If you omit this parameter, the default of 100 is used.public List<String> getNames()
Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
public void setNames(Collection<String> names)
Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
names
- Use this parameter to return only canaries that match the names that you specify here. You can specify as
many as five canary names.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
public DescribeCanariesRequest withNames(String... names)
Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection)
or withNames(java.util.Collection)
if you want to override the
existing values.
names
- Use this parameter to return only canaries that match the names that you specify here. You can specify as
many as five canary names.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
public DescribeCanariesRequest withNames(Collection<String> names)
Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
names
- Use this parameter to return only canaries that match the names that you specify here. You can specify as
many as five canary names.
If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use this parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
public String toString()
toString
in class Object
Object.toString()
public DescribeCanariesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()