Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateBranchRequest.Builder,CreateBranchRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateBranchRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateBranchRequest.Builder,CreateBranchRequest>
Represents the input of a create branch operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateBranchRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
branchName() |
The name of the new branch to create.
|
static CreateBranchRequest.Builder |
builder() |
|
String |
commitId() |
The ID of the commit to point the new branch to.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
repositoryName() |
The name of the repository in which you want to create the new branch.
|
static Class<? extends CreateBranchRequest.Builder> |
serializableBuilderClass() |
|
CreateBranchRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String repositoryName()
The name of the repository in which you want to create the new branch.
public String branchName()
The name of the new branch to create.
public String commitId()
The ID of the commit to point the new branch to.
public CreateBranchRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateBranchRequest.Builder,CreateBranchRequest>
public static CreateBranchRequest.Builder builder()
public static Class<? extends CreateBranchRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.