Interface OAuthCredentialProviderConfigurationOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OAuthCredentialProviderConfigurationOutput.Builder,,OAuthCredentialProviderConfigurationOutput> SdkBuilder<OAuthCredentialProviderConfigurationOutput.Builder,,OAuthCredentialProviderConfigurationOutput> SdkPojo
- Enclosing class:
OAuthCredentialProviderConfigurationOutput
-
Method Summary
Modifier and TypeMethodDescriptionallowedGrantTypes(Collection<GrantType> allowedGrantTypes) The grant types this credential provider is allowed to use.allowedGrantTypes(GrantType... allowedGrantTypes) The grant types this credential provider is allowed to use.allowedGrantTypesWithStrings(String... allowedGrantTypes) The grant types this credential provider is allowed to use.allowedGrantTypesWithStrings(Collection<String> allowedGrantTypes) The grant types this credential provider is allowed to use.allowedSessionBindingUrls(String... allowedSessionBindingUrls) The return URLs this provider accepts at the end of a user consent flow, as configured at creation.allowedSessionBindingUrls(Collection<String> allowedSessionBindingUrls) The return URLs this provider accepts at the end of a user consent flow, as configured at creation.callbackUrls(String... callbackUrls) Redirect URIs to register with the authorization server as allowed callbacks for this provider.callbackUrls(Collection<String> callbackUrls) Redirect URIs to register with the authorization server as allowed callbacks for this provider.encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How cached tokens are encrypted at rest.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) How cached tokens are encrypted at rest.encryptionSource(String encryptionSource) Whether encryptionConfiguration comes from the pool or the provider override.encryptionSource(EncryptionSource encryptionSource) Whether encryptionConfiguration comes from the pool or the provider override.idcInstanceArn(String idcInstanceArn) Amazon Resource Name of the IAM Identity Center instance to associate with a pool.identityCenterApplicationArn(String identityCenterApplicationArn) Amazon Resource Name of the IAM Identity Center application created for a pool.vendorConfigurationOutput(Consumer<OAuthVendorConfigurationOutput.Builder> vendorConfigurationOutput) Resolved discovery and redacted client authentication details.vendorConfigurationOutput(OAuthVendorConfigurationOutput vendorConfigurationOutput) Resolved discovery and redacted client authentication details.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
OAuthCredentialProviderConfigurationOutput.Builder allowedGrantTypesWithStrings(Collection<String> allowedGrantTypes) The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.
- Parameters:
allowedGrantTypes- The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedGrantTypesWithStrings
OAuthCredentialProviderConfigurationOutput.Builder allowedGrantTypesWithStrings(String... allowedGrantTypes) The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.
- Parameters:
allowedGrantTypes- The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedGrantTypes
OAuthCredentialProviderConfigurationOutput.Builder allowedGrantTypes(Collection<GrantType> allowedGrantTypes) The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.
- Parameters:
allowedGrantTypes- The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedGrantTypes
OAuthCredentialProviderConfigurationOutput.Builder allowedGrantTypes(GrantType... allowedGrantTypes) The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.
- Parameters:
allowedGrantTypes- The grant types this credential provider is allowed to use. A token request naming a grant that is not in this list is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendorConfigurationOutput
OAuthCredentialProviderConfigurationOutput.Builder vendorConfigurationOutput(OAuthVendorConfigurationOutput vendorConfigurationOutput) Resolved discovery and redacted client authentication details.
- Parameters:
vendorConfigurationOutput- Resolved discovery and redacted client authentication details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vendorConfigurationOutput
default OAuthCredentialProviderConfigurationOutput.Builder vendorConfigurationOutput(Consumer<OAuthVendorConfigurationOutput.Builder> vendorConfigurationOutput) Resolved discovery and redacted client authentication details.
This is a convenience method that creates an instance of theOAuthVendorConfigurationOutput.Builderavoiding the need to create one manually viaOAuthVendorConfigurationOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovendorConfigurationOutput(OAuthVendorConfigurationOutput).- Parameters:
vendorConfigurationOutput- a consumer that will call methods onOAuthVendorConfigurationOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfiguration
OAuthCredentialProviderConfigurationOutput.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.
- Parameters:
encryptionConfiguration- How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default OAuthCredentialProviderConfigurationOutput.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) How cached tokens are encrypted at rest. Set exactly one member: a customer-managed configuration must name a KMS key, and a service-managed configuration takes no parameters.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionSource
Whether encryptionConfiguration comes from the pool or the provider override.
- Parameters:
encryptionSource- Whether encryptionConfiguration comes from the pool or the provider override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionSource
OAuthCredentialProviderConfigurationOutput.Builder encryptionSource(EncryptionSource encryptionSource) Whether encryptionConfiguration comes from the pool or the provider override.
- Parameters:
encryptionSource- Whether encryptionConfiguration comes from the pool or the provider override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
identityCenterApplicationArn
OAuthCredentialProviderConfigurationOutput.Builder identityCenterApplicationArn(String identityCenterApplicationArn) Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.
- Parameters:
identityCenterApplicationArn- Amazon Resource Name of the IAM Identity Center application created for a pool. Service-generated and read-only. It is created when an Identity Center instance is associated with the pool and deleted when the association is removed. Because the application belongs to the pool, every credential provider in that pool reports the same value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idcInstanceArn
Amazon Resource Name of the IAM Identity Center instance to associate with a pool. The instance must already exist and be in the same Region as the pool.
- Parameters:
idcInstanceArn- Amazon Resource Name of the IAM Identity Center instance to associate with a pool. The instance must already exist and be in the same Region as the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedSessionBindingUrls
OAuthCredentialProviderConfigurationOutput.Builder allowedSessionBindingUrls(Collection<String> allowedSessionBindingUrls) The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.
- Parameters:
allowedSessionBindingUrls- The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedSessionBindingUrls
OAuthCredentialProviderConfigurationOutput.Builder allowedSessionBindingUrls(String... allowedSessionBindingUrls) The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.
- Parameters:
allowedSessionBindingUrls- The return URLs this provider accepts at the end of a user consent flow, as configured at creation. Present only when the provider allows the AUTHORIZATION_CODE grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callbackUrls
Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.
- Parameters:
callbackUrls- Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callbackUrls
Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.
- Parameters:
callbackUrls- Redirect URIs to register with the authorization server as allowed callbacks for this provider. These are the URLs the authorization server redirects a user to after they complete the authorization flow. Present only when the provider allows the AUTHORIZATION_CODE grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-