Interface DeleteBranchResponse.Builder
- All Superinterfaces:
AmplifyResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DeleteBranchResponse.Builder,,DeleteBranchResponse> SdkBuilder<DeleteBranchResponse.Builder,,DeleteBranchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteBranchResponse
public static interface DeleteBranchResponse.Builder
extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<DeleteBranchResponse.Builder,DeleteBranchResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeleteBranchResponse.Builderbranch(Consumer<Branch.Builder> branch) The branch for an Amplify app, which maps to a third-party repository branch.The branch for an Amplify app, which maps to a third-party repository branch.Methods inherited from interface software.amazon.awssdk.services.amplify.model.AmplifyResponse.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
-
branch
The branch for an Amplify app, which maps to a third-party repository branch.
- Parameters:
branch- The branch for an Amplify app, which maps to a third-party repository branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branch
The branch for an Amplify app, which maps to a third-party repository branch.
This is a convenience method that creates an instance of theBranch.Builderavoiding the need to create one manually viaBranch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobranch(Branch).- Parameters:
branch- a consumer that will call methods onBranch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-