@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCodeRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCodeRepositoryRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCodeRepositoryRequest |
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 to update.
|
GitConfigForUpdate |
getGitConfig()
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS Secrets
Manager secret that contains the credentials used to access the repository.
|
int |
hashCode() |
void |
setCodeRepositoryName(String codeRepositoryName)
The name of the Git repository to update.
|
void |
setGitConfig(GitConfigForUpdate gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS Secrets
Manager secret that contains the credentials used to access the repository.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCodeRepositoryRequest |
withCodeRepositoryName(String codeRepositoryName)
The name of the Git repository to update.
|
UpdateCodeRepositoryRequest |
withGitConfig(GitConfigForUpdate gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS Secrets
Manager secret that contains the credentials used 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, withSdkRequestTimeout
public void setCodeRepositoryName(String codeRepositoryName)
The name of the Git repository to update.
codeRepositoryName
- The name of the Git repository to update.public String getCodeRepositoryName()
The name of the Git repository to update.
public UpdateCodeRepositoryRequest withCodeRepositoryName(String codeRepositoryName)
The name of the Git repository to update.
codeRepositoryName
- The name of the Git repository to update.public void setGitConfig(GitConfigForUpdate gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS Secrets
Manager secret that contains the credentials used to access the repository. The secret must have a staging label
of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
gitConfig
- The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS
Secrets Manager secret that contains the credentials used to access the repository. The secret must have a
staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
public GitConfigForUpdate getGitConfig()
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS Secrets
Manager secret that contains the credentials used to access the repository. The secret must have a staging label
of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
public UpdateCodeRepositoryRequest withGitConfig(GitConfigForUpdate gitConfig)
The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS Secrets
Manager secret that contains the credentials used to access the repository. The secret must have a staging label
of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
gitConfig
- The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the AWS
Secrets Manager secret that contains the credentials used to access the repository. The secret must have a
staging label of AWSCURRENT
and must be in the following format:
{"username": UserName, "password": Password}
public String toString()
toString
in class Object
Object.toString()
public UpdateCodeRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.