Interface DescribeCanariesLastRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeCanariesLastRunResponse.Builder,
,DescribeCanariesLastRunResponse> SdkBuilder<DescribeCanariesLastRunResponse.Builder,
,DescribeCanariesLastRunResponse> SdkPojo
,SdkResponse.Builder
,SyntheticsResponse.Builder
- Enclosing class:
DescribeCanariesLastRunResponse
public static interface DescribeCanariesLastRunResponse.Builder
extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<DescribeCanariesLastRunResponse.Builder,DescribeCanariesLastRunResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncanariesLastRun
(Collection<CanaryLastRun> canariesLastRun) An array that contains the information from the most recent run of each canary.canariesLastRun
(Consumer<CanaryLastRun.Builder>... canariesLastRun) An array that contains the information from the most recent run of each canary.canariesLastRun
(CanaryLastRun... canariesLastRun) An array that contains the information from the most recent run of each canary.A token that indicates that there is more data available.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.synthetics.model.SyntheticsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
canariesLastRun
An array that contains the information from the most recent run of each canary.
- Parameters:
canariesLastRun
- An array that contains the information from the most recent run of each canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canariesLastRun
An array that contains the information from the most recent run of each canary.
- Parameters:
canariesLastRun
- An array that contains the information from the most recent run of each canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canariesLastRun
DescribeCanariesLastRunResponse.Builder canariesLastRun(Consumer<CanaryLastRun.Builder>... canariesLastRun) An array that contains the information from the most recent run of each canary.
This is a convenience method that creates an instance of theCanaryLastRun.Builder
avoiding the need to create one manually viaCanaryLastRun.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocanariesLastRun(List<CanaryLastRun>)
.- Parameters:
canariesLastRun
- a consumer that will call methods onCanaryLastRun.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
DescribeCanariesLastRun
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 subsequentDescribeCanariesLastRun
operation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-