Class SourceAuth
- java.lang.Object
-
- software.amazon.awssdk.services.codebuild.model.SourceAuth
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceAuth.Builder,SourceAuth>
@Generated("software.amazon.awssdk:codegen") public final class SourceAuth extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceAuth.Builder,SourceAuth>
Information about the authorization settings for CodeBuild to access the source code to be built.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceAuth.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceAuth.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringresource()The resource value that applies to the specified authorization type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceAuth.Builder>serializableBuilderClass()SourceAuth.BuildertoBuilder()StringtoString()Returns a string representation of this object.SourceAuthTypetype()The authorization type to use.StringtypeAsString()The authorization type to use.-
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
-
type
public final SourceAuthType type()
The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
If the service returns an enum value that is not available in the current SDK version,
typewill returnSourceAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
- See Also:
SourceAuthType
-
typeAsString
public final String typeAsString()
The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
If the service returns an enum value that is not available in the current SDK version,
typewill returnSourceAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
- See Also:
SourceAuthType
-
resource
public final String resource()
The resource value that applies to the specified authorization type.
- Returns:
- The resource value that applies to the specified authorization type.
-
toBuilder
public SourceAuth.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceAuth.Builder,SourceAuth>
-
builder
public static SourceAuth.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceAuth.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
-
-