Interface GetBranchResponse.Builder
- All Superinterfaces:
AmplifyGen3Response.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetBranchResponse.Builder,,GetBranchResponse> SdkBuilder<GetBranchResponse.Builder,,GetBranchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBranchResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.default GetBranchResponse.Builderbackend(Consumer<BranchBackend.Builder> backend) The backend of the branch.backend(BranchBackend backend) The backend of the branch.The Amazon Resource Name (ARN) of the branch.branchName(String branchName) The name of the branch.The time at which the branch was created.environmentName(String environmentName) The name of the environment.gitBranchName(String gitBranchName) The name of the Git branch that the branch was created for.default GetBranchResponse.BuildersourceBranch(Consumer<RestoreSourceBranch.Builder> sourceBranch) The branch that this branch was restored from, and the point in time it was restored to.sourceBranch(RestoreSourceBranch sourceBranch) The branch that this branch was restored from, and the point in time it was restored to.Methods inherited from interface software.amazon.awssdk.services.amplifygen3.model.AmplifyGen3Response.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
-
appName
The name of the app.
- Parameters:
appName- The name of the app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the environment.
- Parameters:
environmentName- The name of the environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchName
The name of the branch.
- Parameters:
branchName- The name of the branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branchArn
The Amazon Resource Name (ARN) of the branch.
- Parameters:
branchArn- The Amazon Resource Name (ARN) of the branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitBranchName
The name of the Git branch that the branch was created for. Present only for a branch that was created for a Git branch.
- Parameters:
gitBranchName- The name of the Git branch that the branch was created for. Present only for a branch that was created for a Git branch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time at which the branch was created. The value is in ISO-8601 format.
- Parameters:
createdAt- The time at which the branch was created. The value is in ISO-8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backend
The backend of the branch. If Amplify can't read the state of the backend, the request fails.
- Parameters:
backend- The backend of the branch. If Amplify can't read the state of the backend, the request fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backend
The backend of the branch. If Amplify can't read the state of the backend, the request fails.
This is a convenience method that creates an instance of theBranchBackend.Builderavoiding the need to create one manually viaBranchBackend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackend(BranchBackend).- Parameters:
backend- a consumer that will call methods onBranchBackend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceBranch
The branch that this branch was restored from, and the point in time it was restored to. Present only for a branch that was created by RestoreBranch.
- Parameters:
sourceBranch- The branch that this branch was restored from, and the point in time it was restored to. Present only for a branch that was created by RestoreBranch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBranch
The branch that this branch was restored from, and the point in time it was restored to. Present only for a branch that was created by RestoreBranch.
This is a convenience method that creates an instance of theRestoreSourceBranch.Builderavoiding the need to create one manually viaRestoreSourceBranch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceBranch(RestoreSourceBranch).- Parameters:
sourceBranch- a consumer that will call methods onRestoreSourceBranch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-