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 organization can be associated with a resource share.
|
ResourceShare.Builder |
creationTime(Instant creationTime)
The time when 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.
|
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 organization can be associated with a resource share.
allowExternalPrincipals
- Indicates whether principals outside your 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.