Class IdentityProviderOAuthSetting
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.IdentityProviderOAuthSetting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IdentityProviderOAuthSetting.Builder,IdentityProviderOAuthSetting>
@Generated("software.amazon.awssdk:codegen") public final class IdentityProviderOAuthSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IdentityProviderOAuthSetting.Builder,IdentityProviderOAuthSetting>
The Amazon SageMaker Canvas application setting where you configure OAuth for connecting to an external data source, such as Snowflake.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIdentityProviderOAuthSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdentityProviderOAuthSetting.Builderbuilder()DataSourceNamedataSourceName()The name of the data source that you're connecting to.StringdataSourceNameAsString()The name of the data source that you're connecting to.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()StringsecretArn()The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.static Class<? extends IdentityProviderOAuthSetting.Builder>serializableBuilderClass()FeatureStatusstatus()Describes whether OAuth for a data source is enabled or disabled in the Canvas application.StringstatusAsString()Describes whether OAuth for a data source is enabled or disabled in the Canvas application.IdentityProviderOAuthSetting.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
-
dataSourceName
public final DataSourceName dataSourceName()
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
If the service returns an enum value that is not available in the current SDK version,
dataSourceNamewill returnDataSourceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataSourceNameAsString().- Returns:
- The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
- See Also:
DataSourceName
-
dataSourceNameAsString
public final String dataSourceNameAsString()
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
If the service returns an enum value that is not available in the current SDK version,
dataSourceNamewill returnDataSourceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataSourceNameAsString().- Returns:
- The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
- See Also:
DataSourceName
-
status
public final FeatureStatus status()
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
- See Also:
FeatureStatus
-
statusAsString
public final String statusAsString()
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
- See Also:
FeatureStatus
-
secretArn
public final String secretArn()
The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
- Returns:
- The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
-
toBuilder
public IdentityProviderOAuthSetting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IdentityProviderOAuthSetting.Builder,IdentityProviderOAuthSetting>
-
builder
public static IdentityProviderOAuthSetting.Builder builder()
-
serializableBuilderClass
public static Class<? extends IdentityProviderOAuthSetting.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
-
-