@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCodeRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateCodeRepositoryRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateCodeRepositoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCodeRepositoryName()
The name of the Git repository.
|
GitConfig |
getGitConfig()
Specifies details about the repository, including the URL where the repository is located, the default branch,
and credentials to use to access the repository.
|
int |
hashCode() |
void |
setCodeRepositoryName(String codeRepositoryName)
The name of the Git repository.
|
void |
setGitConfig(GitConfig gitConfig)
Specifies details about the repository, including the URL where the repository is located, the default branch,
and credentials to use to access the repository.
|
String |
toString()
Returns a string representation of this object.
|
CreateCodeRepositoryRequest |
withCodeRepositoryName(String codeRepositoryName)
The name of the Git repository.
|
CreateCodeRepositoryRequest |
withGitConfig(GitConfig gitConfig)
Specifies details about the repository, including the URL where the repository is located, the default branch,
and credentials to use to access the repository.
|
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, withSdkRequestTimeoutpublic void setCodeRepositoryName(String codeRepositoryName)
The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
codeRepositoryName - The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9,
and - (hyphen).public String getCodeRepositoryName()
The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
public CreateCodeRepositoryRequest withCodeRepositoryName(String codeRepositoryName)
The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
codeRepositoryName - The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9,
and - (hyphen).public void setGitConfig(GitConfig gitConfig)
Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.
gitConfig - Specifies details about the repository, including the URL where the repository is located, the default
branch, and credentials to use to access the repository.public GitConfig getGitConfig()
Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.
public CreateCodeRepositoryRequest withGitConfig(GitConfig gitConfig)
Specifies details about the repository, including the URL where the repository is located, the default branch, and credentials to use to access the repository.
gitConfig - Specifies details about the repository, including the URL where the repository is located, the default
branch, and credentials to use to access the repository.public String toString()
toString in class ObjectObject.toString()public CreateCodeRepositoryRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.