Interface UpdatePermissionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdatePermissionsRequest.Builder,
,UpdatePermissionsRequest> GrafanaRequest.Builder
,SdkBuilder<UpdatePermissionsRequest.Builder,
,UpdatePermissionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdatePermissionsRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.grafana.model.GrafanaRequest.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 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.Builder
avoiding the need to create one manually viaUpdateInstruction.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-