Interface GetCanaryResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCanaryResponse.Builder,GetCanaryResponse>,SdkBuilder<GetCanaryResponse.Builder,GetCanaryResponse>,SdkPojo,SdkResponse.Builder,SyntheticsResponse.Builder
- Enclosing class:
- GetCanaryResponse
public static interface GetCanaryResponse.Builder extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<GetCanaryResponse.Builder,GetCanaryResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetCanaryResponse.Buildercanary(Consumer<Canary.Builder> canary)A structure that contains the full information about the canary.GetCanaryResponse.Buildercanary(Canary canary)A structure that contains the full information about the canary.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.synthetics.model.SyntheticsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
canary
GetCanaryResponse.Builder canary(Canary canary)
A structure that contains the full information about the canary.
- Parameters:
canary- A structure that contains the full information about the canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.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:
canary(Canary)
-
-