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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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
- 
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.Builderavoiding the need to create one manually viaCanaryRun.builder().When the
Consumercompletes,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
GetCanaryRunsoperation 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 subsequentGetCanaryRunsoperation to retrieve the next set of results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -