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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetCanaryRunsResponse.BuildercanaryRuns(Collection<CanaryRun> canaryRuns)An array of structures.GetCanaryRunsResponse.BuildercanaryRuns(Consumer<CanaryRun.Builder>... canaryRuns)An array of structures.GetCanaryRunsResponse.BuildercanaryRuns(CanaryRun... canaryRuns)An array of structures.GetCanaryRunsResponse.BuildernextToken(String nextToken)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 Detail
-
canaryRuns
GetCanaryRunsResponse.Builder canaryRuns(Collection<CanaryRun> 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
GetCanaryRunsResponse.Builder canaryRuns(CanaryRun... 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
GetCanaryRunsResponse.Builder canaryRuns(Consumer<CanaryRun.Builder>... 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 to#canaryRuns(List.) - 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:
#canaryRuns(java.util.Collection)
-
nextToken
GetCanaryRunsResponse.Builder nextToken(String 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.
-
-