Interface UpdateDirectorySetupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDirectorySetupRequest.Builder,UpdateDirectorySetupRequest>,DirectoryRequest.Builder,SdkBuilder<UpdateDirectorySetupRequest.Builder,UpdateDirectorySetupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDirectorySetupRequest
public static interface UpdateDirectorySetupRequest.Builder extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<UpdateDirectorySetupRequest.Builder,UpdateDirectorySetupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDirectorySetupRequest.BuildercreateSnapshotBeforeUpdate(Boolean createSnapshotBeforeUpdate)The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.UpdateDirectorySetupRequest.BuilderdirectoryId(String directoryId)The identifier of the directory on which you want to perform the update.default UpdateDirectorySetupRequest.BuilderosUpdateSettings(Consumer<OSUpdateSettings.Builder> osUpdateSettings)The settings for the OS update that needs to be performed on the directory.UpdateDirectorySetupRequest.BuilderosUpdateSettings(OSUpdateSettings osUpdateSettings)The settings for the OS update that needs to be performed on the directory.UpdateDirectorySetupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDirectorySetupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateDirectorySetupRequest.BuilderupdateType(String updateType)The type of update that needs to be performed on the directory.UpdateDirectorySetupRequest.BuilderupdateType(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 Detail
-
directoryId
UpdateDirectorySetupRequest.Builder directoryId(String 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
UpdateDirectorySetupRequest.Builder updateType(String 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,UpdateType
-
updateType
UpdateDirectorySetupRequest.Builder updateType(UpdateType 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,UpdateType
-
osUpdateSettings
UpdateDirectorySetupRequest.Builder osUpdateSettings(OSUpdateSettings 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.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:
osUpdateSettings(OSUpdateSettings)
-
createSnapshotBeforeUpdate
UpdateDirectorySetupRequest.Builder createSnapshotBeforeUpdate(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDirectorySetupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-