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.Buildersandbox(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, responseMetadataMethods 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, 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.Builderavoiding the need to create one manually viaSandbox.builder().When the
Consumercompletes,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:
-