Interface GetCanaryRunsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCanaryRunsResponse.Builder,
,GetCanaryRunsResponse> SdkBuilder<GetCanaryRunsResponse.Builder,
,GetCanaryRunsResponse> SdkPojo
,SdkResponse.Builder
,SyntheticsResponse.Builder
- Enclosing class:
GetCanaryRunsResponse
public static interface GetCanaryRunsResponse.Builder
extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<GetCanaryRunsResponse.Builder,GetCanaryRunsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncanaryRuns
(Collection<CanaryRun> canaryRuns) An array of structures.canaryRuns
(Consumer<CanaryRun.Builder>... canaryRuns) An array of structures.canaryRuns
(CanaryRun... canaryRuns) An array of structures.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
-
canaryRuns
An array of structures. Each structure contains the details of one of the retrieved canary runs.
- Parameters:
canaryRuns
- An array of structures. Each structure contains the details of one of the retrieved canary runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canaryRuns
An array of structures. Each structure contains the details of one of the retrieved canary runs.
- Parameters:
canaryRuns
- An array of structures. Each structure contains the details of one of the retrieved canary runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canaryRuns
An array of structures. Each structure contains the details of one of the retrieved canary runs.
This is a convenience method that creates an instance of theCanaryRun.Builder
avoiding the need to create one manually viaCanaryRun.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocanaryRuns(List<CanaryRun>)
.- Parameters:
canaryRuns
- a consumer that will call methods onCanaryRun.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
GetCanaryRuns
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 subsequentGetCanaryRuns
operation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-