Interface ListPrincipalsForPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListPrincipalsForPolicyRequest.Builder,,ListPrincipalsForPolicyRequest> QuickSightRequest.Builder,SdkBuilder<ListPrincipalsForPolicyRequest.Builder,,ListPrincipalsForPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListPrincipalsForPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Web Services account that contains the policy.maxResults(Integer maxResults) The maximum number of results to return in a single call.The token returned by a previous call.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the policy.principalType(String principalType) An optional filter that limits the results to principals of the specified type.principalType(PrincipalType principalType) An optional filter that limits the results to principals of the specified type.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The ID of the Amazon Web Services account that contains the policy.
- Parameters:
accountId- The ID of the Amazon Web Services account that contains the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
The ARN of the policy.
- Parameters:
policyArn- The ARN of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalType
An optional filter that limits the results to principals of the specified type. If you don't specify a value, the operation returns principals of all types. You can specify one of the following values:
-
USER– An Amazon Quick Sight user. -
GROUP– An Amazon Quick Sight group. -
ACCOUNT– The Amazon Quick Sight account.
- Parameters:
principalType- An optional filter that limits the results to principals of the specified type. If you don't specify a value, the operation returns principals of all types. You can specify one of the following values:-
USER– An Amazon Quick Sight user. -
GROUP– An Amazon Quick Sight group. -
ACCOUNT– The Amazon Quick Sight account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
principalType
An optional filter that limits the results to principals of the specified type. If you don't specify a value, the operation returns principals of all types. You can specify one of the following values:
-
USER– An Amazon Quick Sight user. -
GROUP– An Amazon Quick Sight group. -
ACCOUNT– The Amazon Quick Sight account.
- Parameters:
principalType- An optional filter that limits the results to principals of the specified type. If you don't specify a value, the operation returns principals of all types. You can specify one of the following values:-
USER– An Amazon Quick Sight user. -
GROUP– An Amazon Quick Sight group. -
ACCOUNT– The Amazon Quick Sight account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
maxResults
The maximum number of results to return in a single call. Valid range is 1–100. If you don't specify a value, the operation returns up to 100 results.
- Parameters:
maxResults- The maximum number of results to return in a single call. Valid range is 1–100. If you don't specify a value, the operation returns up to 100 results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token returned by a previous call. Use it to get the next page of results.
- Parameters:
nextToken- The token returned by a previous call. Use it to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPrincipalsForPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPrincipalsForPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-