Interface UpdateDirectorySetupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDirectorySetupRequest.Builder,
,UpdateDirectorySetupRequest> DirectoryRequest.Builder
,SdkBuilder<UpdateDirectorySetupRequest.Builder,
,UpdateDirectorySetupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDirectorySetupRequest
@Mutable
@NotThreadSafe
public static interface UpdateDirectorySetupRequest.Builder
extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<UpdateDirectorySetupRequest.Builder,UpdateDirectorySetupRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncreateSnapshotBeforeUpdate
(Boolean createSnapshotBeforeUpdate) The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.directoryId
(String directoryId) The identifier of the directory on which you want to perform the update.osUpdateSettings
(Consumer<OSUpdateSettings.Builder> osUpdateSettings) The settings for the OS update that needs to be performed on the directory.osUpdateSettings
(OSUpdateSettings osUpdateSettings) The settings for the OS update that needs to be performed on the directory.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 that needs to be performed on the directory.updateType
(UpdateType updateType) The type of update that needs to be performed on the directory.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.directory.model.DirectoryRequest.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
-
directoryId
The identifier of the directory on which you want to perform the update.
- Parameters:
directoryId
- The identifier of the directory on which you want to perform the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateType
The type of update that needs to be performed on the directory. For example, OS.
- Parameters:
updateType
- The type of update that needs to be performed on the directory. For example, OS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateType
The type of update that needs to be performed on the directory. For example, OS.
- Parameters:
updateType
- The type of update that needs to be performed on the directory. For example, OS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
osUpdateSettings
The settings for the OS update that needs to be performed on the directory.
- Parameters:
osUpdateSettings
- The settings for the OS update that needs to be performed on the directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
osUpdateSettings
default UpdateDirectorySetupRequest.Builder osUpdateSettings(Consumer<OSUpdateSettings.Builder> osUpdateSettings) The settings for the OS update that needs to be performed on the directory.
This is a convenience method that creates an instance of theOSUpdateSettings.Builder
avoiding the need to create one manually viaOSUpdateSettings.builder()
.When the
Consumer
completes,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:
-
createSnapshotBeforeUpdate
The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.
- Parameters:
createSnapshotBeforeUpdate
- The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.- 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.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
UpdateDirectorySetupRequest.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.
-