@Generated(value="software.amazon.awssdk:codegen") public final class GitConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GitConfig.Builder,GitConfig>
Specifies configuration details for a git repository in your AWS account.
Modifier and Type | Class and Description |
---|---|
static interface |
GitConfig.Builder |
Modifier and Type | Method and Description |
---|---|
String |
branch()
The default brach for the git repository.
|
static GitConfig.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
repositoryUrl()
The URL where the git repository is located.
|
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials used to access the
git repository.
|
static Class<? extends GitConfig.Builder> |
serializableBuilderClass() |
GitConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String repositoryUrl()
The URL where the git repository is located.
public String branch()
The default brach for the git repository.
public 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}
AWSCURRENT
and must be in
the following format:
{"username": UserName, "password": Password}
public GitConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GitConfig.Builder,GitConfig>
public static GitConfig.Builder builder()
public static Class<? extends GitConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.