@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceControlDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
SourceControlAuthStrategy |
authStrategy()
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager,
or a personal access token.
|
String |
authStrategyAsString()
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager,
or a personal access token.
|
String |
authToken()
The value of an authorization token.
|
String |
branch()
An optional branch in the remote repository.
|
static SourceControlDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
folder()
An optional folder in the remote repository.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastCommitId()
The last commit ID for a commit in the remote repository.
|
String |
owner()
The owner of the remote repository that contains the job artifacts.
|
SourceControlProvider |
provider()
The provider for the remote repository.
|
String |
providerAsString()
The provider for the remote repository.
|
String |
repository()
The name of the remote repository that contains the job artifacts.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceControlDetails.Builder> |
serializableBuilderClass() |
SourceControlDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, provider will
return SourceControlProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from providerAsString().
SourceControlProviderpublic 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, provider will
return SourceControlProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from providerAsString().
SourceControlProviderpublic final String repository()
The name of the remote repository that contains the job artifacts.
public final String owner()
The owner of the remote repository that contains the job artifacts.
public final String branch()
An optional branch in the remote repository.
public final String folder()
An optional folder in the remote repository.
public final String lastCommitId()
The last commit ID for a commit in the remote repository.
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, authStrategy will
return SourceControlAuthStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from authStrategyAsString().
SourceControlAuthStrategypublic 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, authStrategy will
return SourceControlAuthStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from authStrategyAsString().
SourceControlAuthStrategypublic final String authToken()
The value of an authorization token.
public SourceControlDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceControlDetails.Builder,SourceControlDetails>public static SourceControlDetails.Builder builder()
public static Class<? extends SourceControlDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.