@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDefaultBranchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of an update default branch operation.
NOOP
Constructor and Description |
---|
UpdateDefaultBranchRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDefaultBranchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDefaultBranchName()
The name of the branch to set as the default branch.
|
String |
getRepositoryName()
The name of the repository for which you want to set or change the default branch.
|
int |
hashCode() |
void |
setDefaultBranchName(String defaultBranchName)
The name of the branch to set as the default branch.
|
void |
setRepositoryName(String repositoryName)
The name of the repository for which you want to set or change the default branch.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDefaultBranchRequest |
withDefaultBranchName(String defaultBranchName)
The name of the branch to set as the default branch.
|
UpdateDefaultBranchRequest |
withRepositoryName(String repositoryName)
The name of the repository for which you want to set or change the default branch.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRepositoryName(String repositoryName)
The name of the repository for which you want to set or change the default branch.
repositoryName
- The name of the repository for which you want to set or change the default branch.public String getRepositoryName()
The name of the repository for which you want to set or change the default branch.
public UpdateDefaultBranchRequest withRepositoryName(String repositoryName)
The name of the repository for which you want to set or change the default branch.
repositoryName
- The name of the repository for which you want to set or change the default branch.public void setDefaultBranchName(String defaultBranchName)
The name of the branch to set as the default branch.
defaultBranchName
- The name of the branch to set as the default branch.public String getDefaultBranchName()
The name of the branch to set as the default branch.
public UpdateDefaultBranchRequest withDefaultBranchName(String defaultBranchName)
The name of the branch to set as the default branch.
defaultBranchName
- The name of the branch to set as the default branch.public String toString()
toString
in class Object
Object.toString()
public UpdateDefaultBranchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()