Interface DescribeCanariesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCanariesResponse.Builder,,DescribeCanariesResponse> SdkBuilder<DescribeCanariesResponse.Builder,,DescribeCanariesResponse> SdkPojo,SdkResponse.Builder,SyntheticsResponse.Builder
- Enclosing class:
DescribeCanariesResponse
@Mutable
@NotThreadSafe
public static interface DescribeCanariesResponse.Builder
extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<DescribeCanariesResponse.Builder,DescribeCanariesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncanaries(Collection<Canary> canaries) Returns an array.canaries(Consumer<Canary.Builder>... canaries) Returns an array.Returns an array.A token that indicates that there is more data available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.synthetics.model.SyntheticsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
canaries
Returns an array. Each item in the array contains the full information about one canary.
- Parameters:
canaries- Returns an array. Each item in the array contains the full information about one canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canaries
Returns an array. Each item in the array contains the full information about one canary.
- Parameters:
canaries- Returns an array. Each item in the array contains the full information about one canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canaries
Returns an array. Each item in the array contains the full information about one canary.
This is a convenience method that creates an instance of theCanary.Builderavoiding the need to create one manually viaCanary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocanaries(List<Canary>).- Parameters:
canaries- a consumer that will call methods onCanary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanariesoperation 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 subsequentDescribeCanariesoperation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-