Interface UpdateDirectorySetupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDirectorySetupRequest.Builder,,UpdateDirectorySetupRequest> DirectoryRequest.Builder,SdkBuilder<UpdateDirectorySetupRequest.Builder,,UpdateDirectorySetupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateDirectorySetupRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreateSnapshotBeforeUpdate(Boolean createSnapshotBeforeUpdate) Specifies whether to create a directory snapshot before performing the update.directoryId(String directoryId) The identifier of the directory to update.directorySizeUpdateSettings(Consumer<DirectorySizeUpdateSettings.Builder> directorySizeUpdateSettings) Directory size configuration to apply during the update operation.directorySizeUpdateSettings(DirectorySizeUpdateSettings directorySizeUpdateSettings) Directory size configuration to apply during the update operation.networkUpdateSettings(Consumer<NetworkUpdateSettings.Builder> networkUpdateSettings) Network configuration to apply during the directory update operation.networkUpdateSettings(NetworkUpdateSettings networkUpdateSettings) Network configuration to apply during the directory update operation.osUpdateSettings(Consumer<OSUpdateSettings.Builder> osUpdateSettings) Operating system configuration to apply during the directory update operation.osUpdateSettings(OSUpdateSettings osUpdateSettings) Operating system configuration to apply during the directory update operation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updateType(String updateType) The type of update to perform on the directory.updateType(UpdateType updateType) The type of update to perform on the directory.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.directory.model.DirectoryRequest.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
-
directoryId
The identifier of the directory to update.
- Parameters:
directoryId- The identifier of the directory to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateType
The type of update to perform on the directory.
- Parameters:
updateType- The type of update to perform on the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateType
The type of update to perform on the directory.
- Parameters:
updateType- The type of update to perform on the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osUpdateSettings
Operating system configuration to apply during the directory update operation.
- Parameters:
osUpdateSettings- Operating system configuration to apply during the directory update operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
osUpdateSettings
default UpdateDirectorySetupRequest.Builder osUpdateSettings(Consumer<OSUpdateSettings.Builder> osUpdateSettings) Operating system configuration to apply during the directory update operation.
This is a convenience method that creates an instance of theOSUpdateSettings.Builderavoiding the need to create one manually viaOSUpdateSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toosUpdateSettings(OSUpdateSettings).- Parameters:
osUpdateSettings- a consumer that will call methods onOSUpdateSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
directorySizeUpdateSettings
UpdateDirectorySetupRequest.Builder directorySizeUpdateSettings(DirectorySizeUpdateSettings directorySizeUpdateSettings) Directory size configuration to apply during the update operation.
- Parameters:
directorySizeUpdateSettings- Directory size configuration to apply during the update operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directorySizeUpdateSettings
default UpdateDirectorySetupRequest.Builder directorySizeUpdateSettings(Consumer<DirectorySizeUpdateSettings.Builder> directorySizeUpdateSettings) Directory size configuration to apply during the update operation.
This is a convenience method that creates an instance of theDirectorySizeUpdateSettings.Builderavoiding the need to create one manually viaDirectorySizeUpdateSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todirectorySizeUpdateSettings(DirectorySizeUpdateSettings).- Parameters:
directorySizeUpdateSettings- a consumer that will call methods onDirectorySizeUpdateSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkUpdateSettings
UpdateDirectorySetupRequest.Builder networkUpdateSettings(NetworkUpdateSettings networkUpdateSettings) Network configuration to apply during the directory update operation.
- Parameters:
networkUpdateSettings- Network configuration to apply during the directory update operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkUpdateSettings
default UpdateDirectorySetupRequest.Builder networkUpdateSettings(Consumer<NetworkUpdateSettings.Builder> networkUpdateSettings) Network configuration to apply during the directory update operation.
This is a convenience method that creates an instance of theNetworkUpdateSettings.Builderavoiding the need to create one manually viaNetworkUpdateSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkUpdateSettings(NetworkUpdateSettings).- Parameters:
networkUpdateSettings- a consumer that will call methods onNetworkUpdateSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createSnapshotBeforeUpdate
Specifies whether to create a directory snapshot before performing the update.
- Parameters:
createSnapshotBeforeUpdate- Specifies whether to create a directory snapshot before performing the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateDirectorySetupRequest.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
UpdateDirectorySetupRequest.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.
-