Interface BatchPutPolicyAssignmentByPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchPutPolicyAssignmentByPolicyRequest.Builder,,BatchPutPolicyAssignmentByPolicyRequest> QuickSightRequest.Builder,SdkBuilder<BatchPutPolicyAssignmentByPolicyRequest.Builder,,BatchPutPolicyAssignmentByPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchPutPolicyAssignmentByPolicyRequest
@Mutable
@NotThreadSafe
public static interface BatchPutPolicyAssignmentByPolicyRequest.Builder
extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<BatchPutPolicyAssignmentByPolicyRequest.Builder,BatchPutPolicyAssignmentByPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Web Services account that contains the policy and the principals.assignments(Collection<PutAssignmentEntry> assignments) A list of 1–50 principals to assign the policy to.assignments(Consumer<PutAssignmentEntry.Builder>... assignments) A list of 1–50 principals to assign the policy to.assignments(PutAssignmentEntry... assignments) A list of 1–50 principals to assign the policy to.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 to assign.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 and the principals.
- Parameters:
accountId- The ID of the Amazon Web Services account that contains the policy and the principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
The ARN of the policy to assign.
- Parameters:
policyArn- The ARN of the policy to assign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignments
BatchPutPolicyAssignmentByPolicyRequest.Builder assignments(Collection<PutAssignmentEntry> assignments) A list of 1–50 principals to assign the policy to. Each principal ARN must be unique within the request.
- Parameters:
assignments- A list of 1–50 principals to assign the policy to. Each principal ARN must be unique within the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignments
A list of 1–50 principals to assign the policy to. Each principal ARN must be unique within the request.
- Parameters:
assignments- A list of 1–50 principals to assign the policy to. Each principal ARN must be unique within the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignments
BatchPutPolicyAssignmentByPolicyRequest.Builder assignments(Consumer<PutAssignmentEntry.Builder>... assignments) A list of 1–50 principals to assign the policy to. Each principal ARN must be unique within the request.
This is a convenience method that creates an instance of thePutAssignmentEntry.Builderavoiding the need to create one manually viaPutAssignmentEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassignments(List<PutAssignmentEntry>).- Parameters:
assignments- a consumer that will call methods onPutAssignmentEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchPutPolicyAssignmentByPolicyRequest.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
BatchPutPolicyAssignmentByPolicyRequest.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.
-