public static interface Principal.Builder extends SdkPojo, CopyableBuilder<Principal.Builder,Principal>
| Modifier and Type | Method and Description |
|---|---|
Principal.Builder |
creationTime(Instant creationTime)
The date and time when the principal was associated with the resource share.
|
Principal.Builder |
external(Boolean external)
Indicates the relationship between the Amazon Web Services account the principal belongs to and the account
that owns the resource share:
|
Principal.Builder |
id(String id)
The ID of the principal that can be associated with a resource share.
|
Principal.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The date and time when the association between the resource share and the principal was last updated.
|
Principal.Builder |
resourceShareArn(String resourceShareArn)
The Amazon Resource Name
(ARN) of a resource share the principal is associated with.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPrincipal.Builder id(String id)
The ID of the principal that can be associated with a resource share.
id - The ID of the principal that can be associated with a resource share.Principal.Builder resourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of a resource share the principal is associated with.
resourceShareArn - The Amazon
Resource Name (ARN) of a resource share the principal is associated with.Principal.Builder creationTime(Instant creationTime)
The date and time when the principal was associated with the resource share.
creationTime - The date and time when the principal was associated with the resource share.Principal.Builder lastUpdatedTime(Instant lastUpdatedTime)
The date and time when the association between the resource share and the principal was last updated.
lastUpdatedTime - The date and time when the association between the resource share and the principal was last updated.Principal.Builder external(Boolean external)
Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:
True – The two accounts belong to same organization.
False – The two accounts do not belong to the same organization.
external - Indicates the relationship between the Amazon Web Services account the principal belongs to and the
account that owns the resource share:
True – The two accounts belong to same organization.
False – The two accounts do not belong to the same organization.
Copyright © 2023. All rights reserved.