Interface CreateOAuthClientApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateOAuthClientApplicationRequest.Builder,,CreateOAuthClientApplicationRequest> QuickSightRequest.Builder,SdkBuilder<CreateOAuthClientApplicationRequest.Builder,,CreateOAuthClientApplicationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateOAuthClientApplicationRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The Amazon Web Services account ID.The client ID of the OAuth application that is registered with the identity provider.clientSecret(String clientSecret) The client secret of the OAuth application that is registered with the identity provider.dataSourceType(String dataSourceType) The type of data source that the OAuthClientApplication is used with.dataSourceType(DataSourceType dataSourceType) The type of data source that the OAuthClientApplication is used with.identityProviderVpcConnectionProperties(Consumer<VpcConnectionProperties.Builder> identityProviderVpcConnectionProperties) Sets the value of the IdentityProviderVpcConnectionProperties property for this object.identityProviderVpcConnectionProperties(VpcConnectionProperties identityProviderVpcConnectionProperties) Sets the value of the IdentityProviderVpcConnectionProperties property for this object.The display name for the OAuthClientApplication.oAuthAuthorizationEndpointUrl(String oAuthAuthorizationEndpointUrl) The authorization endpoint URL of the identity provider that is used to obtain authorization codes.oAuthClientApplicationId(String oAuthClientApplicationId) An ID for the OAuthClientApplication that you want to create.oAuthClientAuthenticationType(String oAuthClientAuthenticationType) The authentication type to use for the OAuthClientApplication.oAuthClientAuthenticationType(OAuthClientAuthenticationType oAuthClientAuthenticationType) The authentication type to use for the OAuthClientApplication.oAuthScopes(String oAuthScopes) The OAuth scopes that are requested when the OAuthClientApplication obtains an access token from the identity provider.oAuthTokenEndpointUrl(String oAuthTokenEndpointUrl) The token endpoint URL of the identity provider that is used to obtain access tokens.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) Contains a map of the key-value pairs for the resource tag or tags assigned to the OAuthClientApplication.tags(Consumer<Tag.Builder>... tags) Contains a map of the key-value pairs for the resource tag or tags assigned to the OAuthClientApplication.Contains a map of the key-value pairs for the resource tag or tags assigned to the OAuthClientApplication.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The Amazon Web Services account ID.
- Parameters:
awsAccountId- The Amazon Web Services account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthClientApplicationId
CreateOAuthClientApplicationRequest.Builder oAuthClientApplicationId(String oAuthClientApplicationId) An ID for the OAuthClientApplication that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
- Parameters:
oAuthClientApplicationId- An ID for the OAuthClientApplication that you want to create. 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 for the OAuthClientApplication.
- Parameters:
name- The display name for the OAuthClientApplication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oAuthClientAuthenticationType
CreateOAuthClientApplicationRequest.Builder oAuthClientAuthenticationType(String oAuthClientAuthenticationType) The authentication type to use for the OAuthClientApplication. This determines the OAuth 2.0 grant flow that is used when the data source connects to the identity provider. Valid values are
TOKEN.- Parameters:
oAuthClientAuthenticationType- The authentication type to use for the OAuthClientApplication. This determines the OAuth 2.0 grant flow that is used when the data source connects to the identity provider. Valid values areTOKEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oAuthClientAuthenticationType
CreateOAuthClientApplicationRequest.Builder oAuthClientAuthenticationType(OAuthClientAuthenticationType oAuthClientAuthenticationType) The authentication type to use for the OAuthClientApplication. This determines the OAuth 2.0 grant flow that is used when the data source connects to the identity provider. Valid values are
TOKEN.- Parameters:
oAuthClientAuthenticationType- The authentication type to use for the OAuthClientApplication. This determines the OAuth 2.0 grant flow that is used when the data source connects to the identity provider. Valid values areTOKEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientId
The client ID of the OAuth application that is registered with the identity provider.
- Parameters:
clientId- The client ID of the OAuth application that is registered with the identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The client secret of the OAuth application that is registered with the identity provider.
- Parameters:
clientSecret- The client secret of the OAuth application that is registered with the identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
CreateOAuthClientApplicationRequest.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
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
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 areSNOWFLAKE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 areSNOWFLAKE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityProviderVpcConnectionProperties
CreateOAuthClientApplicationRequest.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 CreateOAuthClientApplicationRequest.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 theVpcConnectionProperties.Builderavoiding the need to create one manually viaVpcConnectionProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityProviderVpcConnectionProperties(VpcConnectionProperties).- Parameters:
identityProviderVpcConnectionProperties- a consumer that will call methods onVpcConnectionProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Contains a map of the key-value pairs for the resource tag or tags assigned to the OAuthClientApplication.
- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the OAuthClientApplication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Contains a map of the key-value pairs for the resource tag or tags assigned to the OAuthClientApplication.
- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the OAuthClientApplication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Contains a map of the key-value pairs for the resource tag or tags assigned to the OAuthClientApplication.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateOAuthClientApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateOAuthClientApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-