Class IdentityProviderOAuthSetting
- All Implemented Interfaces:
Serializable
,SdkPojo
,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final DataSourceName
The name of the data source that you're connecting to.final String
The name of the data source that you're connecting to.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
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> final FeatureStatus
status()
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.final String
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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 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:
-
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 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:
-
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 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:
-
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 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:
-
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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<IdentityProviderOAuthSetting.Builder,
IdentityProviderOAuthSetting> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-