@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 Amazon Web Services account.
Modifier and Type | Class and Description |
---|---|
static interface |
GitConfig.Builder |
Modifier and Type | Method and Description |
---|---|
String |
branch()
The default branch for the Git repository.
|
static GitConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(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 Amazon Web Services Secrets Manager secret that contains the credentials
used to access the git repository.
|
static Class<? extends GitConfig.Builder> |
serializableBuilderClass() |
GitConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String repositoryUrl()
The URL where the Git repository is located.
public final String branch()
The default branch for the Git repository.
public final String secretArn()
The Amazon Resource Name (ARN) of the Amazon Web Services 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()
toBuilder
in interface ToCopyableBuilder<GitConfig.Builder,GitConfig>
public static GitConfig.Builder builder()
public static Class<? extends GitConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.