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.
This information is for the CodeBuild console's use only. Your code should not get or set this information directly.
- 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.List<SdkField<?>>sdkFields()static Class<? extends SourceAuth.Builder>serializableBuilderClass()SourceAuth.BuildertoBuilder()StringtoString()Returns a string representation of this object.SourceAuthTypetype()StringtypeAsString()-
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()
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is
OAUTH, which represents the OAuth authorization type.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:
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is
OAUTH, which represents the OAuth authorization type.- See Also:
SourceAuthType
-
typeAsString
public final String typeAsString()
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is
OAUTH, which represents the OAuth authorization type.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:
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is
OAUTH, which represents the OAuth authorization type.- 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.
-
-