public static interface ListPrincipalsRequest.Builder extends RamRequest.Builder, SdkPojo, CopyableBuilder<ListPrincipalsRequest.Builder,ListPrincipalsRequest>
Modifier and Type | Method and Description |
---|---|
ListPrincipalsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
ListPrincipalsRequest.Builder |
nextToken(String nextToken)
The token for the next page of results.
|
ListPrincipalsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListPrincipalsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ListPrincipalsRequest.Builder |
principals(Collection<String> principals)
The principals.
|
ListPrincipalsRequest.Builder |
principals(String... principals)
The principals.
|
ListPrincipalsRequest.Builder |
resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
ListPrincipalsRequest.Builder |
resourceOwner(ResourceOwner resourceOwner)
The type of owner.
|
ListPrincipalsRequest.Builder |
resourceOwner(String resourceOwner)
The type of owner.
|
ListPrincipalsRequest.Builder |
resourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
ListPrincipalsRequest.Builder |
resourceShareArns(String... resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
|
ListPrincipalsRequest.Builder |
resourceType(String resourceType)
The resource type.
|
build
overrideConfiguration
copy
applyMutation, build
ListPrincipalsRequest.Builder resourceOwner(String resourceOwner)
The type of owner.
resourceOwner
- The type of owner.ResourceOwner
,
ResourceOwner
ListPrincipalsRequest.Builder resourceOwner(ResourceOwner resourceOwner)
The type of owner.
resourceOwner
- The type of owner.ResourceOwner
,
ResourceOwner
ListPrincipalsRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.ListPrincipalsRequest.Builder principals(Collection<String> principals)
The principals.
principals
- The principals.ListPrincipalsRequest.Builder principals(String... principals)
The principals.
principals
- The principals.ListPrincipalsRequest.Builder resourceType(String resourceType)
The resource type.
resourceType
- The resource type.ListPrincipalsRequest.Builder resourceShareArns(Collection<String> resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
resourceShareArns
- The Amazon Resource Names (ARN) of the resource shares.ListPrincipalsRequest.Builder resourceShareArns(String... resourceShareArns)
The Amazon Resource Names (ARN) of the resource shares.
resourceShareArns
- The Amazon Resource Names (ARN) of the resource shares.ListPrincipalsRequest.Builder nextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.ListPrincipalsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another
call with the returned nextToken
value.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.ListPrincipalsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListPrincipalsRequest.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.