Interface DescribeCanariesLastRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCanariesLastRunResponse.Builder,,DescribeCanariesLastRunResponse> SdkBuilder<DescribeCanariesLastRunResponse.Builder,,DescribeCanariesLastRunResponse> SdkPojo,SdkResponse.Builder,SyntheticsResponse.Builder
- Enclosing class:
DescribeCanariesLastRunResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
-
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.Builderavoiding the need to create one manually viaCanaryLastRun.builder().When the
Consumercompletes,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
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.
-