Interface UpdateSmbLocalGroupsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateSmbLocalGroupsRequest.Builder,
,UpdateSmbLocalGroupsRequest> SdkBuilder<UpdateSmbLocalGroupsRequest.Builder,
,UpdateSmbLocalGroupsRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
UpdateSmbLocalGroupsRequest
public static interface UpdateSmbLocalGroupsRequest.Builder
extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateSmbLocalGroupsRequest.Builder,UpdateSmbLocalGroupsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayARN
(String gatewayARN) Sets the value of the GatewayARN property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.smbLocalGroups
(Consumer<SMBLocalGroups.Builder> smbLocalGroups) A list of Active Directory users and groups that you want to grant special permissions for SMB file shares on the gateway.smbLocalGroups
(SMBLocalGroups smbLocalGroups) A list of Active Directory users and groups that you want to grant special permissions for SMB file shares on the gateway.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
Method Details
-
gatewayARN
Sets the value of the GatewayARN property for this object.- Parameters:
gatewayARN
- The new value for the GatewayARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smbLocalGroups
A list of Active Directory users and groups that you want to grant special permissions for SMB file shares on the gateway.
- Parameters:
smbLocalGroups
- A list of Active Directory users and groups that you want to grant special permissions for SMB file shares on the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smbLocalGroups
default UpdateSmbLocalGroupsRequest.Builder smbLocalGroups(Consumer<SMBLocalGroups.Builder> smbLocalGroups) A list of Active Directory users and groups that you want to grant special permissions for SMB file shares on the gateway.
This is a convenience method that creates an instance of theSMBLocalGroups.Builder
avoiding the need to create one manually viaSMBLocalGroups.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosmbLocalGroups(SMBLocalGroups)
.- Parameters:
smbLocalGroups
- a consumer that will call methods onSMBLocalGroups.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSmbLocalGroupsRequest.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
UpdateSmbLocalGroupsRequest.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.
-