Interface DescribeCanariesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeCanariesRequest.Builder,DescribeCanariesRequest>,SdkBuilder<DescribeCanariesRequest.Builder,DescribeCanariesRequest>,SdkPojo,SdkRequest.Builder,SyntheticsRequest.Builder
- Enclosing class:
- DescribeCanariesRequest
public static interface DescribeCanariesRequest.Builder extends SyntheticsRequest.Builder, SdkPojo, CopyableBuilder<DescribeCanariesRequest.Builder,DescribeCanariesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeCanariesRequest.BuildermaxResults(Integer maxResults)Specify this parameter to limit how many canaries are returned each time you use theDescribeCanariesoperation.DescribeCanariesRequest.Buildernames(String... names)Use this parameter to return only canaries that match the names that you specify here.DescribeCanariesRequest.Buildernames(Collection<String> names)Use this parameter to return only canaries that match the names that you specify here.DescribeCanariesRequest.BuildernextToken(String nextToken)A token that indicates that there is more data available.DescribeCanariesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeCanariesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.synthetics.model.SyntheticsRequest.Builder
build
-
-
-
-
Method Detail
-
nextToken
DescribeCanariesRequest.Builder nextToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
DescribeCanariesRequest.Builder maxResults(Integer maxResults)
Specify this parameter to limit how many canaries are returned each time you use the
DescribeCanariesoperation. If you omit this parameter, the default of 100 is used.- Parameters:
maxResults- Specify this parameter to limit how many canaries are returned each time you use theDescribeCanariesoperation. If you omit this parameter, the default of 100 is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
names
DescribeCanariesRequest.Builder names(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
names
DescribeCanariesRequest.Builder names(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeCanariesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeCanariesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-