Interface CreateCanaryResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateCanaryResponse.Builder,,CreateCanaryResponse> SdkBuilder<CreateCanaryResponse.Builder,,CreateCanaryResponse> SdkPojo,SdkResponse.Builder,SyntheticsResponse.Builder
- Enclosing class:
CreateCanaryResponse
@Mutable
@NotThreadSafe
public static interface CreateCanaryResponse.Builder
extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<CreateCanaryResponse.Builder,CreateCanaryResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateCanaryResponse.Buildercanary(Consumer<Canary.Builder> canary) The full details about the canary you have created.The full details about the canary you have created.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
-
canary
The full details about the canary you have created.
- Parameters:
canary- The full details about the canary you have created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canary
The full details about the canary you have created.
This is a convenience method that creates an instance of theCanary.Builderavoiding the need to create one manually viaCanary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocanary(Canary).- Parameters:
canary- a consumer that will call methods onCanary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-