Interface Revision.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Revision.Builder,Revision>, SdkBuilder<Revision.Builder,Revision>, SdkPojo
Enclosing class:
Revision

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

    • branch

      Revision.Builder branch(String branch)

      The branch name for a specific revision.

      Parameters:
      branch - The branch name for a specific revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • directory

      Revision.Builder directory(String directory)

      The directory, if any, for a specific revision.

      Parameters:
      directory - The directory, if any, for a specific revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownerId

      Revision.Builder ownerId(String ownerId)

      The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

      Parameters:
      ownerId - The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryName

      Revision.Builder repositoryName(String repositoryName)

      The repository name for a specific revision.

      Parameters:
      repositoryName - The repository name for a specific revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerType

      Revision.Builder providerType(String providerType)

      The provider type for a revision, such as GitHub.

      Parameters:
      providerType - The provider type for a revision, such as GitHub.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerType

      Revision.Builder providerType(ProviderType providerType)

      The provider type for a revision, such as GitHub.

      Parameters:
      providerType - The provider type for a revision, such as GitHub.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sha

      The SHA, such as the commit ID, for a specific revision.

      Parameters:
      sha - The SHA, such as the commit ID, for a specific revision.
      Returns:
      Returns a reference to this object so that method calls can be chained together.