public static interface GetCanaryResponse.Builder extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<GetCanaryResponse.Builder,GetCanaryResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCanaryResponse.Builder |
canary(Canary canary)
A structure that contains the full information about the canary.
|
default GetCanaryResponse.Builder |
canary(Consumer<Canary.Builder> canary)
A structure that contains the full information about the canary.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCanaryResponse.Builder canary(Canary canary)
A structure that contains the full information about the canary.
canary - A structure that contains the full information about the canary.default GetCanaryResponse.Builder canary(Consumer<Canary.Builder> canary)
A structure that contains the full information about the canary.
This is a convenience method 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 © 2022. All rights reserved.