Interface UpdateAnalysisPermissionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAnalysisPermissionsRequest.Builder,UpdateAnalysisPermissionsRequest>,QuickSightRequest.Builder,SdkBuilder<UpdateAnalysisPermissionsRequest.Builder,UpdateAnalysisPermissionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateAnalysisPermissionsRequest
@Mutable @NotThreadSafe public static interface UpdateAnalysisPermissionsRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<UpdateAnalysisPermissionsRequest.Builder,UpdateAnalysisPermissionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateAnalysisPermissionsRequest.BuilderanalysisId(String analysisId)The ID of the analysis whose permissions you're updating.UpdateAnalysisPermissionsRequest.BuilderawsAccountId(String awsAccountId)The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating.UpdateAnalysisPermissionsRequest.BuildergrantPermissions(Collection<ResourcePermission> grantPermissions)A structure that describes the permissions to add and the principal to add them to.UpdateAnalysisPermissionsRequest.BuildergrantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions)A structure that describes the permissions to add and the principal to add them to.UpdateAnalysisPermissionsRequest.BuildergrantPermissions(ResourcePermission... grantPermissions)A structure that describes the permissions to add and the principal to add them to.UpdateAnalysisPermissionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateAnalysisPermissionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateAnalysisPermissionsRequest.BuilderrevokePermissions(Collection<ResourcePermission> revokePermissions)A structure that describes the permissions to remove and the principal to remove them from.UpdateAnalysisPermissionsRequest.BuilderrevokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions)A structure that describes the permissions to remove and the principal to remove them from.UpdateAnalysisPermissionsRequest.BuilderrevokePermissions(ResourcePermission... revokePermissions)A structure that describes the permissions to remove and the principal to remove them from.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
awsAccountId
UpdateAnalysisPermissionsRequest.Builder awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisId
UpdateAnalysisPermissionsRequest.Builder analysisId(String analysisId)
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
- Parameters:
analysisId- The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateAnalysisPermissionsRequest.Builder grantPermissions(Collection<ResourcePermission> grantPermissions)
A structure that describes the permissions to add and the principal to add them to.
- Parameters:
grantPermissions- A structure that describes the permissions to add and the principal to add them to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateAnalysisPermissionsRequest.Builder grantPermissions(ResourcePermission... grantPermissions)
A structure that describes the permissions to add and the principal to add them to.
- Parameters:
grantPermissions- A structure that describes the permissions to add and the principal to add them to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantPermissions
UpdateAnalysisPermissionsRequest.Builder grantPermissions(Consumer<ResourcePermission.Builder>... grantPermissions)
A structure that describes the permissions to add and the principal to add them to.
This is a convenience method that creates an instance of theResourcePermission.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#grantPermissions(List.) - Parameters:
grantPermissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#grantPermissions(java.util.Collection)
-
revokePermissions
UpdateAnalysisPermissionsRequest.Builder revokePermissions(Collection<ResourcePermission> revokePermissions)
A structure that describes the permissions to remove and the principal to remove them from.
- Parameters:
revokePermissions- A structure that describes the permissions to remove and the principal to remove them from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
UpdateAnalysisPermissionsRequest.Builder revokePermissions(ResourcePermission... revokePermissions)
A structure that describes the permissions to remove and the principal to remove them from.
- Parameters:
revokePermissions- A structure that describes the permissions to remove and the principal to remove them from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokePermissions
UpdateAnalysisPermissionsRequest.Builder revokePermissions(Consumer<ResourcePermission.Builder>... revokePermissions)
A structure that describes the permissions to remove and the principal to remove them from.
This is a convenience method that creates an instance of theResourcePermission.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#revokePermissions(List.) - Parameters:
revokePermissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#revokePermissions(java.util.Collection)
-
overrideConfiguration
UpdateAnalysisPermissionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateAnalysisPermissionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-