Interface DeploymentBranch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentBranch.Builder,,DeploymentBranch> SdkBuilder<DeploymentBranch.Builder,,DeploymentBranch> SdkPojo
- Enclosing class:
DeploymentBranch
@Mutable
@NotThreadSafe
public static interface DeploymentBranch.Builder
extends SdkPojo, CopyableBuilder<DeploymentBranch.Builder,DeploymentBranch>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeploymentBranch.Builderbackend(Consumer<DeploymentBranchBackend.Builder> backend) The backend settings of the branch when the deployment ran.backend(DeploymentBranchBackend backend) The backend settings of the branch when the deployment ran.The Amazon Resource Name (ARN) of the branch.branchName(String branchName) The name of the branch.Methods 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, sdkFields
-
Method Details
-
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.
-
backend
The backend settings of the branch when the deployment ran.
- Parameters:
backend- The backend settings of the branch when the deployment ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backend
The backend settings of the branch when the deployment ran.
This is a convenience method that creates an instance of theDeploymentBranchBackend.Builderavoiding the need to create one manually viaDeploymentBranchBackend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackend(DeploymentBranchBackend).- Parameters:
backend- a consumer that will call methods onDeploymentBranchBackend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-