Interface CreateBranchResponse.Builder
-
- All Superinterfaces:
AmplifyResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateBranchResponse.Builder,CreateBranchResponse>,SdkBuilder<CreateBranchResponse.Builder,CreateBranchResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateBranchResponse
public static interface CreateBranchResponse.Builder extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<CreateBranchResponse.Builder,CreateBranchResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateBranchResponse.Builderbranch(Consumer<Branch.Builder> branch)Describes the branch for an Amplify app, which maps to a third-party repository branch.CreateBranchResponse.Builderbranch(Branch branch)Describes 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, 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 Detail
-
branch
CreateBranchResponse.Builder branch(Branch branch)
Describes the branch for an Amplify app, which maps to a third-party repository branch.
- Parameters:
branch- Describes 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
default CreateBranchResponse.Builder branch(Consumer<Branch.Builder> branch)
Describes 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:
branch(Branch)
-
-