Interface UpdatePermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePermissionsRequest.Builder,,UpdatePermissionsRequest> GrafanaRequest.Builder,SdkBuilder<UpdatePermissionsRequest.Builder,,UpdatePermissionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdatePermissionsRequest
public static interface UpdatePermissionsRequest.Builder
extends GrafanaRequest.Builder, SdkPojo, CopyableBuilder<UpdatePermissionsRequest.Builder,UpdatePermissionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updateInstructionBatch(Collection<UpdateInstruction> updateInstructionBatch) An array of structures that contain the permission updates to make.updateInstructionBatch(Consumer<UpdateInstruction.Builder>... updateInstructionBatch) An array of structures that contain the permission updates to make.updateInstructionBatch(UpdateInstruction... updateInstructionBatch) An array of structures that contain the permission updates to make.workspaceId(String workspaceId) The ID of the workspace to update.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.grafana.model.GrafanaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
updateInstructionBatch
UpdatePermissionsRequest.Builder updateInstructionBatch(Collection<UpdateInstruction> updateInstructionBatch) An array of structures that contain the permission updates to make.
- Parameters:
updateInstructionBatch- An array of structures that contain the permission updates to make.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateInstructionBatch
UpdatePermissionsRequest.Builder updateInstructionBatch(UpdateInstruction... updateInstructionBatch) An array of structures that contain the permission updates to make.
- Parameters:
updateInstructionBatch- An array of structures that contain the permission updates to make.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateInstructionBatch
UpdatePermissionsRequest.Builder updateInstructionBatch(Consumer<UpdateInstruction.Builder>... updateInstructionBatch) An array of structures that contain the permission updates to make.
This is a convenience method that creates an instance of theUpdateInstruction.Builderavoiding the need to create one manually viaUpdateInstruction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdateInstructionBatch(List<UpdateInstruction>).- Parameters:
updateInstructionBatch- a consumer that will call methods onUpdateInstruction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workspaceId
The ID of the workspace to update.
- Parameters:
workspaceId- The ID of the workspace to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePermissionsRequest.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
UpdatePermissionsRequest.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.
-