@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IdentityProviderOAuthSetting extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon SageMaker Canvas application setting where you configure OAuth for connecting to an external data source, such as Snowflake.
| Constructor and Description |
|---|
IdentityProviderOAuthSetting() |
| Modifier and Type | Method and Description |
|---|---|
IdentityProviderOAuthSetting |
clone() |
boolean |
equals(Object obj) |
String |
getDataSourceName()
The name of the data source that you're connecting to.
|
String |
getSecretArn()
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.
|
String |
getStatus()
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDataSourceName(String dataSourceName)
The name of the data source that you're connecting to.
|
void |
setSecretArn(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.
|
void |
setStatus(String status)
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
|
String |
toString()
Returns a string representation of this object.
|
IdentityProviderOAuthSetting |
withDataSourceName(DataSourceName dataSourceName)
The name of the data source that you're connecting to.
|
IdentityProviderOAuthSetting |
withDataSourceName(String dataSourceName)
The name of the data source that you're connecting to.
|
IdentityProviderOAuthSetting |
withSecretArn(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.
|
IdentityProviderOAuthSetting |
withStatus(FeatureStatus status)
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
|
IdentityProviderOAuthSetting |
withStatus(String status)
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
|
public void setDataSourceName(String dataSourceName)
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
dataSourceName - The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and
Salesforce Data Cloud.DataSourceNamepublic String getDataSourceName()
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
DataSourceNamepublic IdentityProviderOAuthSetting withDataSourceName(String dataSourceName)
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
dataSourceName - The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and
Salesforce Data Cloud.DataSourceNamepublic IdentityProviderOAuthSetting withDataSourceName(DataSourceName dataSourceName)
The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
dataSourceName - The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and
Salesforce Data Cloud.DataSourceNamepublic void setStatus(String status)
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
status - Describes whether OAuth for a data source is enabled or disabled in the Canvas application.FeatureStatuspublic String getStatus()
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
FeatureStatuspublic IdentityProviderOAuthSetting withStatus(String status)
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
status - Describes whether OAuth for a data source is enabled or disabled in the Canvas application.FeatureStatuspublic IdentityProviderOAuthSetting withStatus(FeatureStatus status)
Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
status - Describes whether OAuth for a data source is enabled or disabled in the Canvas application.FeatureStatuspublic void setSecretArn(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.
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 String getSecretArn()
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 withSecretArn(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.
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 String toString()
toString in class ObjectObject.toString()public IdentityProviderOAuthSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.