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 Details

    • 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

      A structure that contains the full information about the canary.

      This is a convenience method that creates an instance of the Canary.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).

      Parameters:
      canary - a consumer that will call methods on Canary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: