Interface PrincipalIdFormat.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PrincipalIdFormat.Builder,
,PrincipalIdFormat> SdkBuilder<PrincipalIdFormat.Builder,
,PrincipalIdFormat> SdkPojo
- Enclosing class:
PrincipalIdFormat
public static interface PrincipalIdFormat.Builder
extends SdkPojo, CopyableBuilder<PrincipalIdFormat.Builder,PrincipalIdFormat>
-
Method Summary
Modifier and TypeMethodDescriptionPrincipalIdFormatARN descriptionstatuses
(Collection<IdFormat> statuses) PrincipalIdFormatStatuses descriptionstatuses
(Consumer<IdFormat.Builder>... statuses) PrincipalIdFormatStatuses descriptionPrincipalIdFormatStatuses descriptionMethods 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
-
arn
PrincipalIdFormatARN description
- Parameters:
arn
- PrincipalIdFormatARN description- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuses
PrincipalIdFormatStatuses description
- Parameters:
statuses
- PrincipalIdFormatStatuses description- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuses
PrincipalIdFormatStatuses description
- Parameters:
statuses
- PrincipalIdFormatStatuses description- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuses
PrincipalIdFormatStatuses description
This is a convenience method that creates an instance of theIdFormat.Builder
avoiding the need to create one manually viaIdFormat.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatuses(List<IdFormat>)
.- Parameters:
statuses
- a consumer that will call methods onIdFormat.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-