Interface StartSandboxResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeBuildResponse.Builder
,CopyableBuilder<StartSandboxResponse.Builder,
,StartSandboxResponse> SdkBuilder<StartSandboxResponse.Builder,
,StartSandboxResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartSandboxResponse
@Mutable
@NotThreadSafe
public static interface StartSandboxResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<StartSandboxResponse.Builder,StartSandboxResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartSandboxResponse.Builder
sandbox
(Consumer<Sandbox.Builder> sandbox) Information about the requested sandbox.Information about the requested sandbox.Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
sandbox
Information about the requested sandbox.
- Parameters:
sandbox
- Information about the requested sandbox.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sandbox
Information about the requested sandbox.
This is a convenience method that creates an instance of theSandbox.Builder
avoiding the need to create one manually viaSandbox.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosandbox(Sandbox)
.- Parameters:
sandbox
- a consumer that will call methods onSandbox.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-