Interface CreateBranchResponse.Builder

All Superinterfaces:
AmplifyResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<CreateBranchResponse.Builder,CreateBranchResponse>, SdkBuilder<CreateBranchResponse.Builder,CreateBranchResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateBranchResponse

public static interface CreateBranchResponse.Builder extends AmplifyResponse.Builder, SdkPojo, CopyableBuilder<CreateBranchResponse.Builder,CreateBranchResponse>
  • Method Details

    • branch

      Describes the branch for an Amplify app, which maps to a third-party repository branch.

      Parameters:
      branch - Describes 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.
    • branch

      Describes the branch for an Amplify app, which maps to a third-party repository branch.

      This is a convenience method that creates an instance of the Branch.Builder avoiding the need to create one manually via Branch.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to branch(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: