Interface StartBuildResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeBuildResponse.Builder,CopyableBuilder<StartBuildResponse.Builder,,StartBuildResponse> SdkBuilder<StartBuildResponse.Builder,,StartBuildResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartBuildResponse
@Mutable
@NotThreadSafe
public static interface StartBuildResponse.Builder
extends CodeBuildResponse.Builder, SdkPojo, CopyableBuilder<StartBuildResponse.Builder,StartBuildResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault StartBuildResponse.Builderbuild(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, 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
-
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.Builderavoiding the need to create one manually viaBuild.builder().When the
Consumercompletes,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:
-