Interface OAuthClientApplication.Builder

  • Method Details

    • oAuthClientApplicationId

      OAuthClientApplication.Builder oAuthClientApplicationId(String oAuthClientApplicationId)

      The ID of the OAuthClientApplication. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

      Parameters:
      oAuthClientApplicationId - The ID of the OAuthClientApplication. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The display name of the OAuthClientApplication.

      Parameters:
      name - The display name of the OAuthClientApplication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuthClientAuthenticationType

      OAuthClientApplication.Builder oAuthClientAuthenticationType(String oAuthClientAuthenticationType)

      The OAuth client authentication type used by the OAuthClientApplication. Valid values are TOKEN.

      Parameters:
      oAuthClientAuthenticationType - The OAuth client authentication type used by the OAuthClientApplication. Valid values are TOKEN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • oAuthClientAuthenticationType

      OAuthClientApplication.Builder oAuthClientAuthenticationType(OAuthClientAuthenticationType oAuthClientAuthenticationType)

      The OAuth client authentication type used by the OAuthClientApplication. Valid values are TOKEN.

      Parameters:
      oAuthClientAuthenticationType - The OAuth client authentication type used by the OAuthClientApplication. Valid values are TOKEN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • oAuthTokenEndpointUrl

      OAuthClientApplication.Builder oAuthTokenEndpointUrl(String oAuthTokenEndpointUrl)

      The token endpoint URL of the identity provider that is used to obtain access tokens.

      Parameters:
      oAuthTokenEndpointUrl - The token endpoint URL of the identity provider that is used to obtain access tokens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuthAuthorizationEndpointUrl

      OAuthClientApplication.Builder oAuthAuthorizationEndpointUrl(String oAuthAuthorizationEndpointUrl)

      The authorization endpoint URL of the identity provider that is used to obtain authorization codes.

      Parameters:
      oAuthAuthorizationEndpointUrl - The authorization endpoint URL of the identity provider that is used to obtain authorization codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuthScopes

      OAuthClientApplication.Builder oAuthScopes(String oAuthScopes)

      The OAuth scopes that are requested when the OAuthClientApplication obtains an access token from the identity provider.

      Parameters:
      oAuthScopes - The OAuth scopes that are requested when the OAuthClientApplication obtains an access token from the identity provider.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceType

      OAuthClientApplication.Builder dataSourceType(String dataSourceType)

      The type of data source that the OAuthClientApplication is used with. Valid values are SNOWFLAKE .

      Parameters:
      dataSourceType - The type of data source that the OAuthClientApplication is used with. Valid values are SNOWFLAKE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataSourceType

      OAuthClientApplication.Builder dataSourceType(DataSourceType dataSourceType)

      The type of data source that the OAuthClientApplication is used with. Valid values are SNOWFLAKE .

      Parameters:
      dataSourceType - The type of data source that the OAuthClientApplication is used with. Valid values are SNOWFLAKE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • identityProviderVpcConnectionProperties

      OAuthClientApplication.Builder identityProviderVpcConnectionProperties(VpcConnectionProperties identityProviderVpcConnectionProperties)
      Sets the value of the IdentityProviderVpcConnectionProperties property for this object.
      Parameters:
      identityProviderVpcConnectionProperties - The new value for the IdentityProviderVpcConnectionProperties property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identityProviderVpcConnectionProperties

      default OAuthClientApplication.Builder identityProviderVpcConnectionProperties(Consumer<VpcConnectionProperties.Builder> identityProviderVpcConnectionProperties)
      Sets the value of the IdentityProviderVpcConnectionProperties property for this object. This is a convenience method that creates an instance of the VpcConnectionProperties.Builder avoiding the need to create one manually via VpcConnectionProperties.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to identityProviderVpcConnectionProperties(VpcConnectionProperties).

      Parameters:
      identityProviderVpcConnectionProperties - a consumer that will call methods on VpcConnectionProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTime

      OAuthClientApplication.Builder createdTime(Instant createdTime)

      The time that the OAuthClientApplication was created.

      Parameters:
      createdTime - The time that the OAuthClientApplication was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      OAuthClientApplication.Builder lastUpdatedTime(Instant lastUpdatedTime)

      The time that the OAuthClientApplication was last updated.

      Parameters:
      lastUpdatedTime - The time that the OAuthClientApplication was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the OAuthClientApplication.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the OAuthClientApplication.
      Returns:
      Returns a reference to this object so that method calls can be chained together.