Interface IdentitySource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IdentitySource.Builder,,IdentitySource> SdkBuilder<IdentitySource.Builder,,IdentitySource> SdkPojo
- Enclosing class:
IdentitySource
@Mutable
@NotThreadSafe
public static interface IdentitySource.Builder
extends SdkPojo, CopyableBuilder<IdentitySource.Builder,IdentitySource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault IdentitySource.BuilderidentityCenter(Consumer<IdentityCenter.Builder> identityCenter) The IAM Identity Center instance to use as the identity source.identityCenter(IdentityCenter identityCenter) The IAM Identity Center instance to use as the identity source.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
-
identityCenter
The IAM Identity Center instance to use as the identity source.
- Parameters:
identityCenter- The IAM Identity Center instance to use as the identity source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityCenter
The IAM Identity Center instance to use as the identity source.
This is a convenience method that creates an instance of theIdentityCenter.Builderavoiding the need to create one manually viaIdentityCenter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toidentityCenter(IdentityCenter).- Parameters:
identityCenter- a consumer that will call methods onIdentityCenter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-