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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Revision.Builderbranch(String branch)The branch name for a specific revision.Revision.Builderdirectory(String directory)The directory, if any, for a specific revision.Revision.BuilderownerId(String ownerId)The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.Revision.BuilderproviderType(String providerType)The provider type for a revision, such as GitHub.Revision.BuilderproviderType(ProviderType providerType)The provider type for a revision, such as GitHub.Revision.BuilderrepositoryName(String repositoryName)The repository name for a specific revision.Revision.Buildersha(String sha)The SHA, such as the commit ID, for a specific revision.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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,ProviderType
-
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:
ProviderType,ProviderType
-
sha
Revision.Builder sha(String 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.
-
-