public static interface AllowedPrincipal.Builder extends SdkPojo, CopyableBuilder<AllowedPrincipal.Builder,AllowedPrincipal>
Modifier and Type | Method and Description |
---|---|
AllowedPrincipal.Builder |
principal(String principal)
The Amazon Resource Name (ARN) of the principal.
|
AllowedPrincipal.Builder |
principalType(PrincipalType principalType)
The type of principal.
|
AllowedPrincipal.Builder |
principalType(String principalType)
The type of principal.
|
AllowedPrincipal.Builder |
serviceId(String serviceId)
The ID of the service.
|
AllowedPrincipal.Builder |
servicePermissionId(String servicePermissionId)
The ID of the service permission.
|
AllowedPrincipal.Builder |
tags(Collection<Tag> tags)
The tags.
|
AllowedPrincipal.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags.
|
AllowedPrincipal.Builder |
tags(Tag... tags)
The tags.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
AllowedPrincipal.Builder principalType(String principalType)
The type of principal.
principalType
- The type of principal.PrincipalType
,
PrincipalType
AllowedPrincipal.Builder principalType(PrincipalType principalType)
The type of principal.
principalType
- The type of principal.PrincipalType
,
PrincipalType
AllowedPrincipal.Builder principal(String principal)
The Amazon Resource Name (ARN) of the principal.
principal
- The Amazon Resource Name (ARN) of the principal.AllowedPrincipal.Builder servicePermissionId(String servicePermissionId)
The ID of the service permission.
servicePermissionId
- The ID of the service permission.AllowedPrincipal.Builder tags(Collection<Tag> tags)
The tags.
tags
- The tags.AllowedPrincipal.Builder tags(Tag... tags)
The tags.
tags
- The tags.AllowedPrincipal.Builder tags(Consumer<Tag.Builder>... tags)
The tags.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
AllowedPrincipal.Builder serviceId(String serviceId)
The ID of the service.
serviceId
- The ID of the service.Copyright © 2023. All rights reserved.