Interface OAuthCredentialProviderConfigurationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OAuthCredentialProviderConfigurationInput.Builder,,OAuthCredentialProviderConfigurationInput> SdkBuilder<OAuthCredentialProviderConfigurationInput.Builder,,OAuthCredentialProviderConfigurationInput> SdkPojo
- Enclosing class:
OAuthCredentialProviderConfigurationInput
-
Method Summary
Modifier and TypeMethodDescriptionallowedGrantTypes(Collection<GrantType> allowedGrantTypes) The grant types this provider is allowed to use.allowedGrantTypes(GrantType... allowedGrantTypes) The grant types this provider is allowed to use.allowedGrantTypesWithStrings(String... allowedGrantTypes) The grant types this provider is allowed to use.allowedGrantTypesWithStrings(Collection<String> allowedGrantTypes) The grant types this provider is allowed to use.allowedSessionBindingUrls(String... allowedSessionBindingUrls) Return URLs this provider accepts at the end of a user consent flow.allowedSessionBindingUrls(Collection<String> allowedSessionBindingUrls) Return URLs this provider accepts at the end of a user consent flow.providerEncryptionConfiguration(Consumer<ProviderEncryptionConfiguration.Builder> providerEncryptionConfiguration) Overrides the pool-level customer-managed KMS key.providerEncryptionConfiguration(ProviderEncryptionConfiguration providerEncryptionConfiguration) Overrides the pool-level customer-managed KMS key.vendorConfigurationInput(Consumer<OAuthVendorConfigurationInput.Builder> vendorConfigurationInput) Vendor-specific OAuth configuration (GitHub, Google, custom, and others).vendorConfigurationInput(OAuthVendorConfigurationInput vendorConfigurationInput) Vendor-specific OAuth configuration (GitHub, Google, custom, and others).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
allowedGrantTypesWithStrings
OAuthCredentialProviderConfigurationInput.Builder allowedGrantTypesWithStrings(Collection<String> allowedGrantTypes) The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.
- Parameters:
allowedGrantTypes- The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedGrantTypesWithStrings
OAuthCredentialProviderConfigurationInput.Builder allowedGrantTypesWithStrings(String... allowedGrantTypes) The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.
- Parameters:
allowedGrantTypes- The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedGrantTypes
OAuthCredentialProviderConfigurationInput.Builder allowedGrantTypes(Collection<GrantType> allowedGrantTypes) The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.
- Parameters:
allowedGrantTypes- The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedGrantTypes
The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.
- Parameters:
allowedGrantTypes- The grant types this provider is allowed to use. Required on create; omit on update to leave unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendorConfigurationInput
OAuthCredentialProviderConfigurationInput.Builder vendorConfigurationInput(OAuthVendorConfigurationInput vendorConfigurationInput) Vendor-specific OAuth configuration (GitHub, Google, custom, and others). Required on create; omit on update to leave unchanged.
- Parameters:
vendorConfigurationInput- Vendor-specific OAuth configuration (GitHub, Google, custom, and others). Required on create; omit on update to leave unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendorConfigurationInput
default OAuthCredentialProviderConfigurationInput.Builder vendorConfigurationInput(Consumer<OAuthVendorConfigurationInput.Builder> vendorConfigurationInput) Vendor-specific OAuth configuration (GitHub, Google, custom, and others). Required on create; omit on update to leave unchanged.
This is a convenience method that creates an instance of theOAuthVendorConfigurationInput.Builderavoiding the need to create one manually viaOAuthVendorConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovendorConfigurationInput(OAuthVendorConfigurationInput).- Parameters:
vendorConfigurationInput- a consumer that will call methods onOAuthVendorConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
allowedSessionBindingUrls
OAuthCredentialProviderConfigurationInput.Builder allowedSessionBindingUrls(Collection<String> allowedSessionBindingUrls) Return URLs this provider accepts at the end of a user consent flow. Required when allowedGrantTypes includes AUTHORIZATION_CODE.
- Parameters:
allowedSessionBindingUrls- Return URLs this provider accepts at the end of a user consent flow. Required when allowedGrantTypes includes AUTHORIZATION_CODE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedSessionBindingUrls
OAuthCredentialProviderConfigurationInput.Builder allowedSessionBindingUrls(String... allowedSessionBindingUrls) Return URLs this provider accepts at the end of a user consent flow. Required when allowedGrantTypes includes AUTHORIZATION_CODE.
- Parameters:
allowedSessionBindingUrls- Return URLs this provider accepts at the end of a user consent flow. Required when allowedGrantTypes includes AUTHORIZATION_CODE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerEncryptionConfiguration
OAuthCredentialProviderConfigurationInput.Builder providerEncryptionConfiguration(ProviderEncryptionConfiguration providerEncryptionConfiguration) Overrides the pool-level customer-managed KMS key. Omit to leave the current encryption configuration unchanged.
- Parameters:
providerEncryptionConfiguration- Overrides the pool-level customer-managed KMS key. Omit to leave the current encryption configuration unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerEncryptionConfiguration
default OAuthCredentialProviderConfigurationInput.Builder providerEncryptionConfiguration(Consumer<ProviderEncryptionConfiguration.Builder> providerEncryptionConfiguration) Overrides the pool-level customer-managed KMS key. Omit to leave the current encryption configuration unchanged.
This is a convenience method that creates an instance of theProviderEncryptionConfiguration.Builderavoiding the need to create one manually viaProviderEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproviderEncryptionConfiguration(ProviderEncryptionConfiguration).- Parameters:
providerEncryptionConfiguration- a consumer that will call methods onProviderEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-