Interface AlternateIdentifier.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AlternateIdentifier.Builder,
,AlternateIdentifier> SdkBuilder<AlternateIdentifier.Builder,
,AlternateIdentifier> SdkPojo
- Enclosing class:
AlternateIdentifier
@Mutable
@NotThreadSafe
public static interface AlternateIdentifier.Builder
extends SdkPojo, CopyableBuilder<AlternateIdentifier.Builder,AlternateIdentifier>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AlternateIdentifier.Builder
externalId
(Consumer<ExternalId.Builder> externalId) The identifier issued to this resource by an external identity provider.externalId
(ExternalId externalId) The identifier issued to this resource by an external identity provider.default AlternateIdentifier.Builder
uniqueAttribute
(Consumer<UniqueAttribute.Builder> uniqueAttribute) An entity attribute that's unique to a specific entity.uniqueAttribute
(UniqueAttribute uniqueAttribute) An entity attribute that's unique to a specific entity.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
-
externalId
The identifier issued to this resource by an external identity provider.
- Parameters:
externalId
- The identifier issued to this resource by an external identity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalId
The identifier issued to this resource by an external identity provider.
This is a convenience method that creates an instance of theExternalId.Builder
avoiding the need to create one manually viaExternalId.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexternalId(ExternalId)
.- Parameters:
externalId
- a consumer that will call methods onExternalId.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uniqueAttribute
An entity attribute that's unique to a specific entity.
- Parameters:
uniqueAttribute
- An entity attribute that's unique to a specific entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uniqueAttribute
default AlternateIdentifier.Builder uniqueAttribute(Consumer<UniqueAttribute.Builder> uniqueAttribute) An entity attribute that's unique to a specific entity.
This is a convenience method that creates an instance of theUniqueAttribute.Builder
avoiding the need to create one manually viaUniqueAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touniqueAttribute(UniqueAttribute)
.- Parameters:
uniqueAttribute
- a consumer that will call methods onUniqueAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-