Interface CreateBranchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateBranchResponse.Builder,,CreateBranchResponse> RdsResponse.Builder,SdkBuilder<CreateBranchResponse.Builder,,CreateBranchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateBranchResponse
@Mutable
@NotThreadSafe
public static interface CreateBranchResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CreateBranchResponse.Builder,CreateBranchResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateBranchResponse.Builderbranch(Consumer<Branch.Builder> branch) Sets the value of the Branch property for this object.Sets the value of the Branch property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadataMethods 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
Sets the value of the Branch property for this object.- Parameters:
branch- The new value for the Branch property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branch
Sets the value of the Branch property for this object. 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:
-