Interface JwtBearerGrant.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JwtBearerGrant.Builder,
,JwtBearerGrant> SdkBuilder<JwtBearerGrant.Builder,
,JwtBearerGrant> SdkPojo
- Enclosing class:
JwtBearerGrant
public static interface JwtBearerGrant.Builder
extends SdkPojo, CopyableBuilder<JwtBearerGrant.Builder,JwtBearerGrant>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizedTokenIssuers
(Collection<AuthorizedTokenIssuer> authorizedTokenIssuers) A list of allowed token issuers trusted by the Identity Center instances for this application.authorizedTokenIssuers
(Consumer<AuthorizedTokenIssuer.Builder>... authorizedTokenIssuers) A list of allowed token issuers trusted by the Identity Center instances for this application.authorizedTokenIssuers
(AuthorizedTokenIssuer... authorizedTokenIssuers) A list of allowed token issuers trusted by the Identity Center instances for this application.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, sdkFields
-
Method Details
-
authorizedTokenIssuers
JwtBearerGrant.Builder authorizedTokenIssuers(Collection<AuthorizedTokenIssuer> authorizedTokenIssuers) A list of allowed token issuers trusted by the Identity Center instances for this application.
- Parameters:
authorizedTokenIssuers
- A list of allowed token issuers trusted by the Identity Center instances for this application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedTokenIssuers
A list of allowed token issuers trusted by the Identity Center instances for this application.
- Parameters:
authorizedTokenIssuers
- A list of allowed token issuers trusted by the Identity Center instances for this application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedTokenIssuers
JwtBearerGrant.Builder authorizedTokenIssuers(Consumer<AuthorizedTokenIssuer.Builder>... authorizedTokenIssuers) A list of allowed token issuers trusted by the Identity Center instances for this application.
This is a convenience method that creates an instance of theAuthorizedTokenIssuer.Builder
avoiding the need to create one manually viaAuthorizedTokenIssuer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthorizedTokenIssuers(List<AuthorizedTokenIssuer>)
.- Parameters:
authorizedTokenIssuers
- a consumer that will call methods onAuthorizedTokenIssuer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-