Interface CustomOauth2ProviderConfigOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomOauth2ProviderConfigOutput.Builder,,CustomOauth2ProviderConfigOutput> SdkBuilder<CustomOauth2ProviderConfigOutput.Builder,,CustomOauth2ProviderConfigOutput> SdkPojo
- Enclosing class:
CustomOauth2ProviderConfigOutput
-
Method Summary
Modifier and TypeMethodDescriptioncertificateConfigurations(Collection<CertificateConfiguration> certificateConfigurations) The private certificate authority (CA) configurations for the identity provider.certificateConfigurations(Consumer<CertificateConfiguration.Builder>... certificateConfigurations) The private certificate authority (CA) configurations for the identity provider.certificateConfigurations(CertificateConfiguration... certificateConfigurations) The private certificate authority (CA) configurations for the identity provider.clientAuthenticationMethod(String clientAuthenticationMethod) The client authentication method used when authenticating with the token endpoint.clientAuthenticationMethod(ClientAuthenticationMethodType clientAuthenticationMethod) The client authentication method used when authenticating with the token endpoint.The client ID for the custom OAuth2 provider.oauthDiscovery(Consumer<Oauth2Discovery.Builder> oauthDiscovery) The OAuth2 discovery information for the custom provider.oauthDiscovery(Oauth2Discovery oauthDiscovery) The OAuth2 discovery information for the custom provider.onBehalfOfTokenExchangeConfig(Consumer<OnBehalfOfTokenExchangeConfigType.Builder> onBehalfOfTokenExchangeConfig) The configuration for on-behalf-of token exchange.onBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigType onBehalfOfTokenExchangeConfig) The configuration for on-behalf-of token exchange.privateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.privateEndpoint(PrivateEndpoint privateEndpoint) The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.privateEndpointOverrides(Collection<PrivateEndpointOverride> privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.privateEndpointOverrides(Consumer<PrivateEndpointOverride.Builder>... privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.privateEndpointOverrides(PrivateEndpointOverride... privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.privateKeyJwtConfig(Consumer<PrivateKeyJwtConfig.Builder> privateKeyJwtConfig) The configuration for private_key_jwt client authentication used by this OAuth2 credential provider.privateKeyJwtConfig(PrivateKeyJwtConfig privateKeyJwtConfig) The configuration for private_key_jwt client authentication used by this OAuth2 credential provider.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
-
oauthDiscovery
The OAuth2 discovery information for the custom provider.
- Parameters:
oauthDiscovery- The OAuth2 discovery information for the custom provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oauthDiscovery
default CustomOauth2ProviderConfigOutput.Builder oauthDiscovery(Consumer<Oauth2Discovery.Builder> oauthDiscovery) The OAuth2 discovery information for the custom provider.
This is a convenience method that creates an instance of theOauth2Discovery.Builderavoiding the need to create one manually viaOauth2Discovery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooauthDiscovery(Oauth2Discovery).- Parameters:
oauthDiscovery- a consumer that will call methods onOauth2Discovery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientId
The client ID for the custom OAuth2 provider.
- Parameters:
clientId- The client ID for the custom OAuth2 provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onBehalfOfTokenExchangeConfig
CustomOauth2ProviderConfigOutput.Builder onBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigType onBehalfOfTokenExchangeConfig) The configuration for on-behalf-of token exchange.
- Parameters:
onBehalfOfTokenExchangeConfig- The configuration for on-behalf-of token exchange.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onBehalfOfTokenExchangeConfig
default CustomOauth2ProviderConfigOutput.Builder onBehalfOfTokenExchangeConfig(Consumer<OnBehalfOfTokenExchangeConfigType.Builder> onBehalfOfTokenExchangeConfig) The configuration for on-behalf-of token exchange.
This is a convenience method that creates an instance of theOnBehalfOfTokenExchangeConfigType.Builderavoiding the need to create one manually viaOnBehalfOfTokenExchangeConfigType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonBehalfOfTokenExchangeConfig(OnBehalfOfTokenExchangeConfigType).- Parameters:
onBehalfOfTokenExchangeConfig- a consumer that will call methods onOnBehalfOfTokenExchangeConfigType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientAuthenticationMethod
CustomOauth2ProviderConfigOutput.Builder clientAuthenticationMethod(String clientAuthenticationMethod) The client authentication method used when authenticating with the token endpoint.
- Parameters:
clientAuthenticationMethod- The client authentication method used when authenticating with the token endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientAuthenticationMethod
CustomOauth2ProviderConfigOutput.Builder clientAuthenticationMethod(ClientAuthenticationMethodType clientAuthenticationMethod) The client authentication method used when authenticating with the token endpoint.
- Parameters:
clientAuthenticationMethod- The client authentication method used when authenticating with the token endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateEndpoint
The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.
- Parameters:
privateEndpoint- The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpoint
default CustomOauth2ProviderConfigOutput.Builder privateEndpoint(Consumer<PrivateEndpoint.Builder> privateEndpoint) The default private endpoint for the custom OAuth2 provider, enabling secure connectivity through a VPC Lattice resource configuration.
This is a convenience method that creates an instance of thePrivateEndpoint.Builderavoiding the need to create one manually viaPrivateEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateEndpoint(PrivateEndpoint).- Parameters:
privateEndpoint- a consumer that will call methods onPrivateEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateEndpointOverrides
CustomOauth2ProviderConfigOutput.Builder privateEndpointOverrides(Collection<PrivateEndpointOverride> privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.
- Parameters:
privateEndpointOverrides- The private endpoint overrides for the custom OAuth2 provider configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointOverrides
CustomOauth2ProviderConfigOutput.Builder privateEndpointOverrides(PrivateEndpointOverride... privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.
- Parameters:
privateEndpointOverrides- The private endpoint overrides for the custom OAuth2 provider configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateEndpointOverrides
CustomOauth2ProviderConfigOutput.Builder privateEndpointOverrides(Consumer<PrivateEndpointOverride.Builder>... privateEndpointOverrides) The private endpoint overrides for the custom OAuth2 provider configuration.
This is a convenience method that creates an instance of thePrivateEndpointOverride.Builderavoiding the need to create one manually viaPrivateEndpointOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateEndpointOverrides(List<PrivateEndpointOverride>).- Parameters:
privateEndpointOverrides- a consumer that will call methods onPrivateEndpointOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateConfigurations
CustomOauth2ProviderConfigOutput.Builder certificateConfigurations(Collection<CertificateConfiguration> certificateConfigurations) The private certificate authority (CA) configurations for the identity provider. Use this to have AgentCore Identity trust a private CA when establishing TLS connections to identity provider endpoints. You can specify only one certificate authority configuration in this list. Provide the certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can use this only together with
privateEndpoint.- Parameters:
certificateConfigurations- The private certificate authority (CA) configurations for the identity provider. Use this to have AgentCore Identity trust a private CA when establishing TLS connections to identity provider endpoints. You can specify only one certificate authority configuration in this list. Provide the certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can use this only together withprivateEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateConfigurations
CustomOauth2ProviderConfigOutput.Builder certificateConfigurations(CertificateConfiguration... certificateConfigurations) The private certificate authority (CA) configurations for the identity provider. Use this to have AgentCore Identity trust a private CA when establishing TLS connections to identity provider endpoints. You can specify only one certificate authority configuration in this list. Provide the certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can use this only together with
privateEndpoint.- Parameters:
certificateConfigurations- The private certificate authority (CA) configurations for the identity provider. Use this to have AgentCore Identity trust a private CA when establishing TLS connections to identity provider endpoints. You can specify only one certificate authority configuration in this list. Provide the certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can use this only together withprivateEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateConfigurations
CustomOauth2ProviderConfigOutput.Builder certificateConfigurations(Consumer<CertificateConfiguration.Builder>... certificateConfigurations) The private certificate authority (CA) configurations for the identity provider. Use this to have AgentCore Identity trust a private CA when establishing TLS connections to identity provider endpoints. You can specify only one certificate authority configuration in this list. Provide the certificate by reference to an Amazon S3 object or an Amazon Web Services Secrets Manager secret. You can use this only together with
This is a convenience method that creates an instance of theprivateEndpoint.CertificateConfiguration.Builderavoiding the need to create one manually viaCertificateConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificateConfigurations(List<CertificateConfiguration>).- Parameters:
certificateConfigurations- a consumer that will call methods onCertificateConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privateKeyJwtConfig
CustomOauth2ProviderConfigOutput.Builder privateKeyJwtConfig(PrivateKeyJwtConfig privateKeyJwtConfig) The configuration for private_key_jwt client authentication used by this OAuth2 credential provider.
- Parameters:
privateKeyJwtConfig- The configuration for private_key_jwt client authentication used by this OAuth2 credential provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateKeyJwtConfig
default CustomOauth2ProviderConfigOutput.Builder privateKeyJwtConfig(Consumer<PrivateKeyJwtConfig.Builder> privateKeyJwtConfig) The configuration for private_key_jwt client authentication used by this OAuth2 credential provider.
This is a convenience method that creates an instance of thePrivateKeyJwtConfig.Builderavoiding the need to create one manually viaPrivateKeyJwtConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateKeyJwtConfig(PrivateKeyJwtConfig).- Parameters:
privateKeyJwtConfig- a consumer that will call methods onPrivateKeyJwtConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-