Interface StartCanaryDryRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartCanaryDryRunResponse.Builder,,StartCanaryDryRunResponse> SdkBuilder<StartCanaryDryRunResponse.Builder,,StartCanaryDryRunResponse> SdkPojo,SdkResponse.Builder,SyntheticsResponse.Builder
- Enclosing class:
StartCanaryDryRunResponse
@Mutable
@NotThreadSafe
public static interface StartCanaryDryRunResponse.Builder
extends SyntheticsResponse.Builder, SdkPojo, CopyableBuilder<StartCanaryDryRunResponse.Builder,StartCanaryDryRunResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondryRunConfig(Consumer<DryRunConfigOutput.Builder> dryRunConfig) Returns the dry run configurations for a canary.dryRunConfig(DryRunConfigOutput dryRunConfig) Returns the dry run configurations for a canary.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.synthetics.model.SyntheticsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
dryRunConfig
Returns the dry run configurations for a canary.
- Parameters:
dryRunConfig- Returns the dry run configurations for a canary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRunConfig
default StartCanaryDryRunResponse.Builder dryRunConfig(Consumer<DryRunConfigOutput.Builder> dryRunConfig) Returns the dry run configurations for a canary.
This is a convenience method that creates an instance of theDryRunConfigOutput.Builderavoiding the need to create one manually viaDryRunConfigOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todryRunConfig(DryRunConfigOutput).- Parameters:
dryRunConfig- a consumer that will call methods onDryRunConfigOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-