Class UpdateDirectorySetupRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.directory.model.DirectoryRequest
-
- software.amazon.awssdk.services.directory.model.UpdateDirectorySetupRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateDirectorySetupRequest.Builder,UpdateDirectorySetupRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateDirectorySetupRequest extends DirectoryRequest implements ToCopyableBuilder<UpdateDirectorySetupRequest.Builder,UpdateDirectorySetupRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateDirectorySetupRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDirectorySetupRequest.Builderbuilder()BooleancreateSnapshotBeforeUpdate()The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.StringdirectoryId()The identifier of the directory on which you want to perform the update.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OSUpdateSettingsosUpdateSettings()The settings for the OS update that needs to be performed on the directory.List<SdkField<?>>sdkFields()static Class<? extends UpdateDirectorySetupRequest.Builder>serializableBuilderClass()UpdateDirectorySetupRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.UpdateTypeupdateType()The type of update that needs to be performed on the directory.StringupdateTypeAsString()The type of update that needs to be performed on the directory.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
directoryId
public final String directoryId()
The identifier of the directory on which you want to perform the update.
- Returns:
- The identifier of the directory on which you want to perform the update.
-
updateType
public final UpdateType updateType()
The type of update that needs to be performed on the directory. For example, OS.
If the service returns an enum value that is not available in the current SDK version,
updateTypewill returnUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateTypeAsString().- Returns:
- The type of update that needs to be performed on the directory. For example, OS.
- See Also:
UpdateType
-
updateTypeAsString
public final String updateTypeAsString()
The type of update that needs to be performed on the directory. For example, OS.
If the service returns an enum value that is not available in the current SDK version,
updateTypewill returnUpdateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateTypeAsString().- Returns:
- The type of update that needs to be performed on the directory. For example, OS.
- See Also:
UpdateType
-
osUpdateSettings
public final OSUpdateSettings osUpdateSettings()
The settings for the OS update that needs to be performed on the directory.
- Returns:
- The settings for the OS update that needs to be performed on the directory.
-
createSnapshotBeforeUpdate
public final Boolean createSnapshotBeforeUpdate()
The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.
- Returns:
- The boolean that specifies if a snapshot for the directory needs to be taken before updating the directory.
-
toBuilder
public UpdateDirectorySetupRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateDirectorySetupRequest.Builder,UpdateDirectorySetupRequest>- Specified by:
toBuilderin classDirectoryRequest
-
builder
public static UpdateDirectorySetupRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateDirectorySetupRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-