Interface Principal.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Principal.Builder,Principal>,SdkBuilder<Principal.Builder,Principal>,SdkPojo
- Enclosing class:
- Principal
public static interface Principal.Builder extends SdkPojo, CopyableBuilder<Principal.Builder,Principal>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Principal.BuildercreationTime(Instant creationTime)The date and time when the principal was associated with the resource share.Principal.Builderexternal(Boolean external)Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:Principal.Builderid(String id)The ID of the principal that can be associated with a resource share.Principal.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time when the association between the resource share and the principal was last updated.Principal.BuilderresourceShareArn(String resourceShareArn)The Amazon Resource Name (ARN) of a resource share the principal is associated with.-
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, sdkFields
-
-
-
-
Method Detail
-
id
Principal.Builder id(String id)
The ID of the principal that can be associated with a resource share.
- Parameters:
id- The ID of the principal that can be associated with a resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareArn
Principal.Builder resourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of a resource share the principal is associated with.
- Parameters:
resourceShareArn- The Amazon Resource Name (ARN) of a resource share the principal is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
Principal.Builder creationTime(Instant creationTime)
The date and time when the principal was associated with the resource share.
- Parameters:
creationTime- The date and time when the principal was associated with the resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
Principal.Builder lastUpdatedTime(Instant lastUpdatedTime)
The date and time when the association between the resource share and the principal was last updated.
- Parameters:
lastUpdatedTime- The date and time when the association between the resource share and the principal was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
external
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-