public static interface CreateCanaryResponse.Builder extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<CreateCanaryResponse.Builder,CreateCanaryResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateCanaryResponse.Builder |
canary(Canary canary)
The full details about the canary you have created.
|
default CreateCanaryResponse.Builder |
canary(Consumer<Canary.Builder> canary)
The full details about the canary you have created.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateCanaryResponse.Builder canary(Canary canary)
The full details about the canary you have created.
canary - The full details about the canary you have created.default CreateCanaryResponse.Builder canary(Consumer<Canary.Builder> canary)
The full details about the canary you have created.
This is a convenience that creates an instance of theCanary.Builder avoiding the need to create one
manually via Canary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to canary(Canary).canary - a consumer that will call methods on Canary.Buildercanary(Canary)Copyright © 2021. All rights reserved.