@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.
|
String |
getRepositoryName()
The name of the repository to set or change the default branch for.
|
int |
hashCode() |
void |
setDefaultBranchName(String defaultBranchName)
The name of the branch to set as the default.
|
void |
setRepositoryName(String repositoryName)
The name of the repository to set or change the default branch for.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateDefaultBranchRequest |
withDefaultBranchName(String defaultBranchName)
The name of the branch to set as the default.
|
UpdateDefaultBranchRequest |
withRepositoryName(String repositoryName)
The name of the repository to set or change the default branch for.
|
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 to set or change the default branch for.
repositoryName
- The name of the repository to set or change the default branch for.public String getRepositoryName()
The name of the repository to set or change the default branch for.
public UpdateDefaultBranchRequest withRepositoryName(String repositoryName)
The name of the repository to set or change the default branch for.
repositoryName
- The name of the repository to set or change the default branch for.public void setDefaultBranchName(String defaultBranchName)
The name of the branch to set as the default.
defaultBranchName
- The name of the branch to set as the default.public String getDefaultBranchName()
The name of the branch to set as the default.
public UpdateDefaultBranchRequest withDefaultBranchName(String defaultBranchName)
The name of the branch to set as the default.
defaultBranchName
- The name of the branch to set as the default.public String toString()
toString
in class Object
Object.toString()
public UpdateDefaultBranchRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.