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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeCanariesLastRunResponse.BuildercanariesLastRun(Collection<CanaryLastRun> canariesLastRun)An array that contains the information from the most recent run of each canary.DescribeCanariesLastRunResponse.BuildercanariesLastRun(Consumer<CanaryLastRun.Builder>... canariesLastRun)An array that contains the information from the most recent run of each canary.DescribeCanariesLastRunResponse.BuildercanariesLastRun(CanaryLastRun... canariesLastRun)An array that contains the information from the most recent run of each canary.DescribeCanariesLastRunResponse.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
-
canariesLastRun
DescribeCanariesLastRunResponse.Builder canariesLastRun(Collection<CanaryLastRun> 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(CanaryLastRun... 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.Builderavoiding the need to create one manually viaCanaryLastRun.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#canariesLastRun(List.) - 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:
#canariesLastRun(java.util.Collection)
-
nextToken
DescribeCanariesLastRunResponse.Builder nextToken(String nextToken)
A token that indicates that there is more data available. You can use this token in a subsequent
DescribeCanariesLastRunoperation 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 subsequentDescribeCanariesLastRunoperation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-