Class GitConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.GitConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<GitConfig.Builder,GitConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGitConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbranch()The default branch for the Git repository.static GitConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrepositoryUrl()The URL where the Git repository is located.List<SdkField<?>>sdkFields()StringsecretArn()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
repositoryUrl
public final String repositoryUrl()
The URL where the Git repository is located.
- Returns:
- The URL where the Git repository is located.
-
branch
public final String branch()
The default branch for the Git repository.
- Returns:
- The default branch for the Git repository.
-
secretArn
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
AWSCURRENTand must be in the following format:{"username": UserName, "password": Password}- Returns:
- 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
AWSCURRENTand must be in the following format:{"username": UserName, "password": Password}
-
toBuilder
public GitConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GitConfig.Builder,GitConfig>
-
builder
public static GitConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends GitConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-