Class SourceControlDetails
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.SourceControlDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceControlDetails.Builder,SourceControlDetails>
@Generated("software.amazon.awssdk:codegen") public final class SourceControlDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceControlDetails.Builder,SourceControlDetails>
The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceControlDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceControlAuthStrategyauthStrategy()The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.StringauthStrategyAsString()The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.StringauthToken()The value of an authorization token.Stringbranch()An optional branch in the remote repository.static SourceControlDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfolder()An optional folder in the remote repository.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlastCommitId()The last commit ID for a commit in the remote repository.Stringowner()The owner of the remote repository that contains the job artifacts.SourceControlProviderprovider()The provider for the remote repository.StringproviderAsString()The provider for the remote repository.Stringrepository()The name of the remote repository that contains the job artifacts.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceControlDetails.Builder>serializableBuilderClass()SourceControlDetails.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
-
provider
public final SourceControlProvider provider()
The provider for the remote repository.
If the service returns an enum value that is not available in the current SDK version,
providerwill returnSourceControlProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderAsString().- Returns:
- The provider for the remote repository.
- See Also:
SourceControlProvider
-
providerAsString
public final String providerAsString()
The provider for the remote repository.
If the service returns an enum value that is not available in the current SDK version,
providerwill returnSourceControlProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderAsString().- Returns:
- The provider for the remote repository.
- See Also:
SourceControlProvider
-
repository
public final String repository()
The name of the remote repository that contains the job artifacts.
- Returns:
- The name of the remote repository that contains the job artifacts.
-
owner
public final String owner()
The owner of the remote repository that contains the job artifacts.
- Returns:
- The owner of the remote repository that contains the job artifacts.
-
branch
public final String branch()
An optional branch in the remote repository.
- Returns:
- An optional branch in the remote repository.
-
folder
public final String folder()
An optional folder in the remote repository.
- Returns:
- An optional folder in the remote repository.
-
lastCommitId
public final String lastCommitId()
The last commit ID for a commit in the remote repository.
- Returns:
- The last commit ID for a commit in the remote repository.
-
authStrategy
public final SourceControlAuthStrategy authStrategy()
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
If the service returns an enum value that is not available in the current SDK version,
authStrategywill returnSourceControlAuthStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthStrategyAsString().- Returns:
- The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
- See Also:
SourceControlAuthStrategy
-
authStrategyAsString
public final String authStrategyAsString()
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
If the service returns an enum value that is not available in the current SDK version,
authStrategywill returnSourceControlAuthStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthStrategyAsString().- Returns:
- The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
- See Also:
SourceControlAuthStrategy
-
authToken
public final String authToken()
The value of an authorization token.
- Returns:
- The value of an authorization token.
-
toBuilder
public SourceControlDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceControlDetails.Builder,SourceControlDetails>
-
builder
public static SourceControlDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceControlDetails.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-