Interface CreateCustomPermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCustomPermissionsRequest.Builder,,CreateCustomPermissionsRequest> QuickSightRequest.Builder,SdkBuilder<CreateCustomPermissionsRequest.Builder,,CreateCustomPermissionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateCustomPermissionsRequest
@Mutable
@NotThreadSafe
public static interface CreateCustomPermissionsRequest.Builder
extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<CreateCustomPermissionsRequest.Builder,CreateCustomPermissionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The ID of the Amazon Web Services account that you want to create the custom permissions profile in.capabilities(Consumer<Capabilities.Builder> capabilities) A set of actions to include in the custom permissions profile.capabilities(Capabilities capabilities) A set of actions to include in the custom permissions profile.customPermissionsName(String customPermissionsName) The name of the custom permissions profile that you want to create.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) The tags to associate with the custom permissions profile.tags(Consumer<Tag.Builder>... tags) The tags to associate with the custom permissions profile.The tags to associate with the custom permissions profile.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
-
awsAccountId
The ID of the Amazon Web Services account that you want to create the custom permissions profile in.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account that you want to create the custom permissions profile in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customPermissionsName
The name of the custom permissions profile that you want to create.
- Parameters:
customPermissionsName- The name of the custom permissions profile that you want to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
A set of actions to include in the custom permissions profile.
- Parameters:
capabilities- A set of actions to include in the custom permissions profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
default CreateCustomPermissionsRequest.Builder capabilities(Consumer<Capabilities.Builder> capabilities) A set of actions to include in the custom permissions profile.
This is a convenience method that creates an instance of theCapabilities.Builderavoiding the need to create one manually viaCapabilities.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilities(Capabilities).- Parameters:
capabilities- a consumer that will call methods onCapabilities.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to associate with the custom permissions profile.
- Parameters:
tags- The tags to associate with the custom permissions profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the custom permissions profile.
- Parameters:
tags- The tags to associate with the custom permissions profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the custom permissions profile.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateCustomPermissionsRequest.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
CreateCustomPermissionsRequest.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.
-