Interface StartBuildResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeBuildResponse.Builder
,CopyableBuilder<StartBuildResponse.Builder,
,StartBuildResponse> SdkBuilder<StartBuildResponse.Builder,
,StartBuildResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartBuildResponse
public static interface StartBuildResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<StartBuildResponse.Builder,StartBuildResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartBuildResponse.Builder
build
(Consumer<Build.Builder> build) Information about the build to be run.Information about the build to be run.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
build
Information about the build to be run.
- Parameters:
build
- Information about the build to be run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
Information about the build to be run.
This is a convenience method that creates an instance of theBuild.Builder
avoiding the need to create one manually viaBuild.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobuild(Build)
.- Parameters:
build
- a consumer that will call methods onBuild.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-