public static interface ResourceShare.Builder extends SdkPojo, CopyableBuilder<ResourceShare.Builder,ResourceShare>
Modifier and Type | Method and Description |
---|---|
ResourceShare.Builder |
allowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your AWS organization can be associated with a resource share.
|
ResourceShare.Builder |
creationTime(Instant creationTime)
The time when the resource share was created.
|
ResourceShare.Builder |
featureSet(ResourceShareFeatureSet featureSet)
Indicates how the resource share was created.
|
ResourceShare.Builder |
featureSet(String featureSet)
Indicates how the resource share was created.
|
ResourceShare.Builder |
lastUpdatedTime(Instant lastUpdatedTime)
The time when the resource share was last updated.
|
ResourceShare.Builder |
name(String name)
The name of the resource share.
|
ResourceShare.Builder |
owningAccountId(String owningAccountId)
The ID of the AWS account that owns the resource share.
|
ResourceShare.Builder |
resourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
|
ResourceShare.Builder |
status(ResourceShareStatus status)
The status of the resource share.
|
ResourceShare.Builder |
status(String status)
The status of the resource share.
|
ResourceShare.Builder |
statusMessage(String statusMessage)
A message about the status of the resource share.
|
ResourceShare.Builder |
tags(Collection<Tag> tags)
The tags for the resource share.
|
ResourceShare.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the resource share.
|
ResourceShare.Builder |
tags(Tag... tags)
The tags for the resource share.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ResourceShare.Builder resourceShareArn(String resourceShareArn)
The Amazon Resource Name (ARN) of the resource share.
resourceShareArn
- The Amazon Resource Name (ARN) of the resource share.ResourceShare.Builder name(String name)
The name of the resource share.
name
- The name of the resource share.ResourceShare.Builder owningAccountId(String owningAccountId)
The ID of the AWS account that owns the resource share.
owningAccountId
- The ID of the AWS account that owns the resource share.ResourceShare.Builder allowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your AWS organization can be associated with a resource share.
allowExternalPrincipals
- Indicates whether principals outside your AWS organization can be associated with a resource share.ResourceShare.Builder status(String status)
The status of the resource share.
status
- The status of the resource share.ResourceShareStatus
,
ResourceShareStatus
ResourceShare.Builder status(ResourceShareStatus status)
The status of the resource share.
status
- The status of the resource share.ResourceShareStatus
,
ResourceShareStatus
ResourceShare.Builder statusMessage(String statusMessage)
A message about the status of the resource share.
statusMessage
- A message about the status of the resource share.ResourceShare.Builder tags(Collection<Tag> tags)
The tags for the resource share.
tags
- The tags for the resource share.ResourceShare.Builder tags(Tag... tags)
The tags for the resource share.
tags
- The tags for the resource share.ResourceShare.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the resource share.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
ResourceShare.Builder creationTime(Instant creationTime)
The time when the resource share was created.
creationTime
- The time when the resource share was created.ResourceShare.Builder lastUpdatedTime(Instant lastUpdatedTime)
The time when the resource share was last updated.
lastUpdatedTime
- The time when the resource share was last updated.ResourceShare.Builder featureSet(String featureSet)
Indicates how the resource share was created. Possible values include:
CREATED_FROM_POLICY
- Indicates that the resource share was created from an AWS Identity and
Access Management (AWS IAM) policy attached to a resource. These resource shares are visible only to the AWS
account that created it. They cannot be modified in AWS RAM.
PROMOTING_TO_STANDARD
- The resource share is in the process of being promoted. For more
information, see PromoteResourceShareCreatedFromPolicy.
STANDARD
- Indicates that the resource share was created in AWS RAM using the console or APIs.
These resource shares are visible to all principals. They can be modified in AWS RAM.
featureSet
- Indicates how the resource share was created. Possible values include:
CREATED_FROM_POLICY
- Indicates that the resource share was created from an AWS Identity
and Access Management (AWS IAM) policy attached to a resource. These resource shares are visible only
to the AWS account that created it. They cannot be modified in AWS RAM.
PROMOTING_TO_STANDARD
- The resource share is in the process of being promoted. For more
information, see PromoteResourceShareCreatedFromPolicy.
STANDARD
- Indicates that the resource share was created in AWS RAM using the console or
APIs. These resource shares are visible to all principals. They can be modified in AWS RAM.
ResourceShareFeatureSet
,
ResourceShareFeatureSet
ResourceShare.Builder featureSet(ResourceShareFeatureSet featureSet)
Indicates how the resource share was created. Possible values include:
CREATED_FROM_POLICY
- Indicates that the resource share was created from an AWS Identity and
Access Management (AWS IAM) policy attached to a resource. These resource shares are visible only to the AWS
account that created it. They cannot be modified in AWS RAM.
PROMOTING_TO_STANDARD
- The resource share is in the process of being promoted. For more
information, see PromoteResourceShareCreatedFromPolicy.
STANDARD
- Indicates that the resource share was created in AWS RAM using the console or APIs.
These resource shares are visible to all principals. They can be modified in AWS RAM.
featureSet
- Indicates how the resource share was created. Possible values include:
CREATED_FROM_POLICY
- Indicates that the resource share was created from an AWS Identity
and Access Management (AWS IAM) policy attached to a resource. These resource shares are visible only
to the AWS account that created it. They cannot be modified in AWS RAM.
PROMOTING_TO_STANDARD
- The resource share is in the process of being promoted. For more
information, see PromoteResourceShareCreatedFromPolicy.
STANDARD
- Indicates that the resource share was created in AWS RAM using the console or
APIs. These resource shares are visible to all principals. They can be modified in AWS RAM.
ResourceShareFeatureSet
,
ResourceShareFeatureSet