public static interface CreateResourceShareRequest.Builder extends RamRequest.Builder, SdkPojo, CopyableBuilder<CreateResourceShareRequest.Builder,CreateResourceShareRequest>
Modifier and Type | Method and Description |
---|---|
CreateResourceShareRequest.Builder |
allowExternalPrincipals(Boolean allowExternalPrincipals)
Indicates whether principals outside your organization can be associated with a resource share.
|
CreateResourceShareRequest.Builder |
clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateResourceShareRequest.Builder |
name(String name)
The name of the resource share.
|
CreateResourceShareRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateResourceShareRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateResourceShareRequest.Builder |
principals(Collection<String> principals)
The principals to associate with the resource share.
|
CreateResourceShareRequest.Builder |
principals(String... principals)
The principals to associate with the resource share.
|
CreateResourceShareRequest.Builder |
resourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources to associate with the resource share.
|
CreateResourceShareRequest.Builder |
resourceArns(String... resourceArns)
The Amazon Resource Names (ARN) of the resources to associate with the resource share.
|
CreateResourceShareRequest.Builder |
tags(Collection<Tag> tags)
One or more tags.
|
CreateResourceShareRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
One or more tags.
|
CreateResourceShareRequest.Builder |
tags(Tag... tags)
One or more tags.
|
build
overrideConfiguration
copy
applyMutation, build
CreateResourceShareRequest.Builder name(String name)
The name of the resource share.
name
- The name of the resource share.CreateResourceShareRequest.Builder resourceArns(Collection<String> resourceArns)
The Amazon Resource Names (ARN) of the resources to associate with the resource share.
resourceArns
- The Amazon Resource Names (ARN) of the resources to associate with the resource share.CreateResourceShareRequest.Builder resourceArns(String... resourceArns)
The Amazon Resource Names (ARN) of the resources to associate with the resource share.
resourceArns
- The Amazon Resource Names (ARN) of the resources to associate with the resource share.CreateResourceShareRequest.Builder principals(Collection<String> principals)
The principals to associate with the resource share. The possible values are IDs of AWS accounts, the ARN of an OU or organization from AWS Organizations.
principals
- The principals to associate with the resource share. The possible values are IDs of AWS accounts, the
ARN of an OU or organization from AWS Organizations.CreateResourceShareRequest.Builder principals(String... principals)
The principals to associate with the resource share. The possible values are IDs of AWS accounts, the ARN of an OU or organization from AWS Organizations.
principals
- The principals to associate with the resource share. The possible values are IDs of AWS accounts, the
ARN of an OU or organization from AWS Organizations.CreateResourceShareRequest.Builder tags(Collection<Tag> tags)
One or more tags.
tags
- One or more tags.CreateResourceShareRequest.Builder tags(Tag... tags)
One or more tags.
tags
- One or more tags.CreateResourceShareRequest.Builder tags(Consumer<Tag.Builder>... tags)
One or more tags.
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)
CreateResourceShareRequest.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.CreateResourceShareRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateResourceShareRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateResourceShareRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.