Interface ClientCredentialsGrantMetadata.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClientCredentialsGrantMetadata.Builder,
,ClientCredentialsGrantMetadata> SdkBuilder<ClientCredentialsGrantMetadata.Builder,
,ClientCredentialsGrantMetadata> SdkPojo
- Enclosing class:
ClientCredentialsGrantMetadata
@Mutable
@NotThreadSafe
public static interface ClientCredentialsGrantMetadata.Builder
extends SdkPojo, CopyableBuilder<ClientCredentialsGrantMetadata.Builder,ClientCredentialsGrantMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionbaseEndpoint
(String baseEndpoint) The base endpoint URL for the external service.clientCredentialsDetails
(Consumer<ClientCredentialsDetails.Builder> clientCredentialsDetails) The detailed client credentials configuration including client ID, client secret, and token endpoint.clientCredentialsDetails
(ClientCredentialsDetails clientCredentialsDetails) The detailed client credentials configuration including client ID, client secret, and token endpoint.clientCredentialsSource
(String clientCredentialsSource) The source of the client credentials configuration.clientCredentialsSource
(ClientCredentialsSource clientCredentialsSource) The source of the client credentials configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
baseEndpoint
The base endpoint URL for the external service.
- Parameters:
baseEndpoint
- The base endpoint URL for the external service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCredentialsSource
The source of the client credentials configuration.
- Parameters:
clientCredentialsSource
- The source of the client credentials configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientCredentialsSource
ClientCredentialsGrantMetadata.Builder clientCredentialsSource(ClientCredentialsSource clientCredentialsSource) The source of the client credentials configuration.
- Parameters:
clientCredentialsSource
- The source of the client credentials configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientCredentialsDetails
ClientCredentialsGrantMetadata.Builder clientCredentialsDetails(ClientCredentialsDetails clientCredentialsDetails) The detailed client credentials configuration including client ID, client secret, and token endpoint.
- Parameters:
clientCredentialsDetails
- The detailed client credentials configuration including client ID, client secret, and token endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientCredentialsDetails
default ClientCredentialsGrantMetadata.Builder clientCredentialsDetails(Consumer<ClientCredentialsDetails.Builder> clientCredentialsDetails) The detailed client credentials configuration including client ID, client secret, and token endpoint.
This is a convenience method that creates an instance of theClientCredentialsDetails.Builder
avoiding the need to create one manually viaClientCredentialsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclientCredentialsDetails(ClientCredentialsDetails)
.- Parameters:
clientCredentialsDetails
- a consumer that will call methods onClientCredentialsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-