@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GitConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies configuration details for a Git repository in your AWS account.
Constructor and Description |
---|
GitConfig() |
Modifier and Type | Method and Description |
---|---|
GitConfig |
clone() |
boolean |
equals(Object obj) |
String |
getBranch()
The default branch for the Git repository.
|
String |
getRepositoryUrl()
The URL where the Git repository is located.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the
git repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBranch(String branch)
The default branch for the Git repository.
|
void |
setRepositoryUrl(String repositoryUrl)
The URL where the Git repository is located.
|
void |
setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the
git repository.
|
String |
toString()
Returns a string representation of this object.
|
GitConfig |
withBranch(String branch)
The default branch for the Git repository.
|
GitConfig |
withRepositoryUrl(String repositoryUrl)
The URL where the Git repository is located.
|
GitConfig |
withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the
git repository.
|
public void setRepositoryUrl(String repositoryUrl)
The URL where the Git repository is located.
repositoryUrl
- The URL where the Git repository is located.public String getRepositoryUrl()
The URL where the Git repository is located.
public GitConfig withRepositoryUrl(String repositoryUrl)
The URL where the Git repository is located.
repositoryUrl
- The URL where the Git repository is located.public void setBranch(String branch)
The default branch for the Git repository.
branch
- The default branch for the Git repository.public String getBranch()
The default branch for the Git repository.
public GitConfig withBranch(String branch)
The default branch for the Git repository.
branch
- The default branch for the Git repository.public void setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the
git repository. The secret must have a staging label of AWSCURRENT
and must be in the following
format:
{"username": UserName, "password": Password}
secretArn
- The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to
access the git repository. The secret must have a staging label of AWSCURRENT
and must be in
the following format:
{"username": UserName, "password": Password}
public String getSecretArn()
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the
git 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 GitConfig withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the
git repository. The secret must have a staging label of AWSCURRENT
and must be in the following
format:
{"username": UserName, "password": Password}
secretArn
- The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to
access the git 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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.