Interface UpdateBranchResponse.Builder
- All Superinterfaces:
- AmplifyResponse.Builder,- AwsResponse.Builder,- Buildable,- CopyableBuilder<UpdateBranchResponse.Builder,,- UpdateBranchResponse> - SdkBuilder<UpdateBranchResponse.Builder,,- UpdateBranchResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- UpdateBranchResponse
@Mutable
@NotThreadSafe
public static interface UpdateBranchResponse.Builder
extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<UpdateBranchResponse.Builder,UpdateBranchResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault UpdateBranchResponse.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.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
branchThe 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.
 
- 
branchThe 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 on- Branch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-