@Generated(value="software.amazon.awssdk:codegen") public final class IdentityProviderOAuthSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IdentityProviderOAuthSetting.Builder,IdentityProviderOAuthSetting>
The Amazon SageMaker Canvas app setting where you configure OAuth for connecting to an external data source, such as Snowflake.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IdentityProviderOAuthSetting.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IdentityProviderOAuthSetting.Builder |
builder() |
DataSourceName |
dataSourceName()
The name of the data source that you're connecting to.
|
String |
dataSourceNameAsString()
The name of the data source that you're connecting to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
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.
|
static Class<? extends IdentityProviderOAuthSetting.Builder> |
serializableBuilderClass() |
FeatureStatus |
status()
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
|
String |
statusAsString()
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
|
IdentityProviderOAuthSetting.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, dataSourceName
will return DataSourceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from dataSourceNameAsString().
DataSourceNamepublic 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, dataSourceName
will return DataSourceName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from dataSourceNameAsString().
DataSourceNamepublic 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, status will
return FeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
FeatureStatuspublic 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, status will
return FeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
FeatureStatuspublic 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.
public IdentityProviderOAuthSetting.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IdentityProviderOAuthSetting.Builder,IdentityProviderOAuthSetting>public static IdentityProviderOAuthSetting.Builder builder()
public static Class<? extends IdentityProviderOAuthSetting.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.