Interface AccessControlAttribute.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AccessControlAttribute.Builder,AccessControlAttribute>
,SdkBuilder<AccessControlAttribute.Builder,AccessControlAttribute>
,SdkPojo
- Enclosing class:
- AccessControlAttribute
@Mutable @NotThreadSafe public static interface AccessControlAttribute.Builder extends SdkPojo, CopyableBuilder<AccessControlAttribute.Builder,AccessControlAttribute>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AccessControlAttribute.Builder
key(String key)
The name of the attribute associated with your identities in your identity source.default AccessControlAttribute.Builder
value(Consumer<AccessControlAttributeValue.Builder> value)
The value used for mapping a specified attribute to an identity source.AccessControlAttribute.Builder
value(AccessControlAttributeValue value)
The value used for mapping a specified attribute to an identity source.-
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 Detail
-
key
AccessControlAttribute.Builder key(String key)
The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in IAM Identity Center.
- Parameters:
key
- The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in IAM Identity Center.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
AccessControlAttribute.Builder value(AccessControlAttributeValue value)
The value used for mapping a specified attribute to an identity source.
- Parameters:
value
- The value used for mapping a specified attribute to an identity source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
default AccessControlAttribute.Builder value(Consumer<AccessControlAttributeValue.Builder> value)
The value used for mapping a specified attribute to an identity source.
This is a convenience method that creates an instance of theAccessControlAttributeValue.Builder
avoiding the need to create one manually viaAccessControlAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(AccessControlAttributeValue)
.- Parameters:
value
- a consumer that will call methods onAccessControlAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
value(AccessControlAttributeValue)
-
-