public static interface Principal.Builder extends CopyableBuilder<Principal.Builder,Principal>
Modifier and Type | Method and Description |
---|---|
Principal.Builder |
id(String id)
The ID of the resource.
|
Principal.Builder |
roles(Collection<PermissionInfo> roles)
The permission information for the resource.
|
Principal.Builder |
roles(PermissionInfo... roles)
The permission information for the resource.
|
Principal.Builder |
type(PrincipalType type)
The type of resource.
|
Principal.Builder |
type(String type)
The type of resource.
|
copy
apply, build
Principal.Builder id(String id)
The ID of the resource.
id
- The ID of the resource.Principal.Builder type(String type)
The type of resource.
type
- The type of resource.PrincipalType
,
PrincipalType
Principal.Builder type(PrincipalType type)
The type of resource.
type
- The type of resource.PrincipalType
,
PrincipalType
Principal.Builder roles(Collection<PermissionInfo> roles)
The permission information for the resource.
roles
- The permission information for the resource.Principal.Builder roles(PermissionInfo... roles)
The permission information for the resource.
roles
- The permission information for the resource.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.