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 strucure that contains the full information about the canary.
|
default GetCanaryResponse.Builder |
canary(Consumer<Canary.Builder> canary)
A strucure that contains the full information about the canary.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCanaryResponse.Builder canary(Canary canary)
A strucure that contains the full information about the canary.
canary - A strucure that contains the full information about the canary.default GetCanaryResponse.Builder canary(Consumer<Canary.Builder> canary)
A strucure that contains the full information about the canary.
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.