Interface ReadClientCredentialsGrantMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReadClientCredentialsGrantMetadata.Builder,,ReadClientCredentialsGrantMetadata> SdkBuilder<ReadClientCredentialsGrantMetadata.Builder,,ReadClientCredentialsGrantMetadata> SdkPojo
- Enclosing class:
ReadClientCredentialsGrantMetadata
@Mutable
@NotThreadSafe
public static interface ReadClientCredentialsGrantMetadata.Builder
extends SdkPojo, CopyableBuilder<ReadClientCredentialsGrantMetadata.Builder,ReadClientCredentialsGrantMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionbaseEndpoint(String baseEndpoint) The base endpoint URL for the OAuth2 client credentials grant flow.clientCredentialsSource(String clientCredentialsSource) The source of client credentials for the OAuth2 client credentials grant flow.clientCredentialsSource(ClientCredentialsSource clientCredentialsSource) The source of client credentials for the OAuth2 client credentials grant flow.readClientCredentialsDetails(Consumer<ReadClientCredentialsDetails.Builder> readClientCredentialsDetails) The read-only client credentials configuration details.readClientCredentialsDetails(ReadClientCredentialsDetails readClientCredentialsDetails) The read-only client credentials configuration 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
-
baseEndpoint
The base endpoint URL for the OAuth2 client credentials grant flow.
- Parameters:
baseEndpoint- The base endpoint URL for the OAuth2 client credentials grant flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readClientCredentialsDetails
ReadClientCredentialsGrantMetadata.Builder readClientCredentialsDetails(ReadClientCredentialsDetails readClientCredentialsDetails) The read-only client credentials configuration details.
- Parameters:
readClientCredentialsDetails- The read-only client credentials configuration details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readClientCredentialsDetails
default ReadClientCredentialsGrantMetadata.Builder readClientCredentialsDetails(Consumer<ReadClientCredentialsDetails.Builder> readClientCredentialsDetails) The read-only client credentials configuration details.
This is a convenience method that creates an instance of theReadClientCredentialsDetails.Builderavoiding the need to create one manually viaReadClientCredentialsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreadClientCredentialsDetails(ReadClientCredentialsDetails).- Parameters:
readClientCredentialsDetails- a consumer that will call methods onReadClientCredentialsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientCredentialsSource
The source of client credentials for the OAuth2 client credentials grant flow.
- Parameters:
clientCredentialsSource- The source of client credentials for the OAuth2 client credentials grant flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientCredentialsSource
ReadClientCredentialsGrantMetadata.Builder clientCredentialsSource(ClientCredentialsSource clientCredentialsSource) The source of client credentials for the OAuth2 client credentials grant flow.
- Parameters:
clientCredentialsSource- The source of client credentials for the OAuth2 client credentials grant flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-