@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GitConfigForUpdate extends Object implements Serializable, Cloneable, StructuredPojo
Specifies configuration details for a Git repository when the repository is updated.
Constructor and Description |
---|
GitConfigForUpdate() |
Modifier and Type | Method and Description |
---|---|
GitConfigForUpdate |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
GitConfigForUpdate |
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 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 GitConfigForUpdate 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 GitConfigForUpdate clone()
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.