Interface GetBranchResponse.Builder
-
- All Superinterfaces:
AmplifyResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetBranchResponse.Builder,GetBranchResponse>,SdkBuilder<GetBranchResponse.Builder,GetBranchResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBranchResponse
public static interface GetBranchResponse.Builder extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<GetBranchResponse.Builder,GetBranchResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetBranchResponse.Builderbranch(Consumer<Branch.Builder> branch)Sets the value of the Branch property for this object.GetBranchResponse.Builderbranch(Branch branch)Sets the value of the Branch property for this object.-
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
GetBranchResponse.Builder branch(Branch 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
default GetBranchResponse.Builder branch(Consumer<Branch.Builder> 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:
branch(Branch)
-
-