Interface GetCommitResponse.Builder

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

public static interface GetCommitResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<GetCommitResponse.Builder,GetCommitResponse>
  • Method Details

    • commit

      A commit data type object that contains information about the specified commit.

      Parameters:
      commit - A commit data type object that contains information about the specified commit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • commit

      A commit data type object that contains information about the specified commit.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to commit(Commit).

      Parameters:
      commit - a consumer that will call methods on Commit.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: