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 request.
|
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.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 © 2015. All rights reserved.