@Generated(value="software.amazon.awssdk:codegen") public final class SettingEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SettingEntry.Builder,SettingEntry>
Contains information about the specified configurable setting for a directory.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SettingEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
allowedValues()
The valid range of values for the directory setting.
|
String |
appliedValue()
The value of the directory setting that is applied to the directory.
|
static SettingEntry.Builder |
builder() |
String |
dataType()
The data type of a directory setting.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRequestDetailedStatus()
For responses, this returns true if the service returned a value for the RequestDetailedStatus property.
|
Instant |
lastRequestedDateTime()
The date and time when the request to update a directory setting was last submitted.
|
Instant |
lastUpdatedDateTime()
The date and time when the directory setting was last updated.
|
String |
name()
The name of the directory setting.
|
Map<String,DirectoryConfigurationStatus> |
requestDetailedStatus()
Details about the status of the request to update the directory setting.
|
Map<String,String> |
requestDetailedStatusAsStrings()
Details about the status of the request to update the directory setting.
|
String |
requestedValue()
The value that was last requested for the directory setting.
|
DirectoryConfigurationStatus |
requestStatus()
The overall status of the request to update the directory setting request.
|
String |
requestStatusAsString()
The overall status of the request to update the directory setting request.
|
String |
requestStatusMessage()
The last status message for the directory status request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SettingEntry.Builder> |
serializableBuilderClass() |
SettingEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type, or category, of a directory setting.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String type()
The type, or category, of a directory setting. Similar settings have the same type. For example,
Protocol, Cipher, or Certificate-Based Authentication.
Protocol, Cipher, or Certificate-Based Authentication.public final String name()
The name of the directory setting. For example:
TLS_1_0
TLS_1_0
public final String allowedValues()
The valid range of values for the directory setting. These values depend on the DataType of your
directory.
DataType of
your directory.public final String appliedValue()
The value of the directory setting that is applied to the directory.
public final String requestedValue()
The value that was last requested for the directory setting.
public final DirectoryConfigurationStatus requestStatus()
The overall status of the request to update the directory setting request. If the directory setting is deployed
in more than one region, and the request fails in any region, the overall status is Failed.
If the service returns an enum value that is not available in the current SDK version, requestStatus
will return DirectoryConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from requestStatusAsString().
Failed.DirectoryConfigurationStatuspublic final String requestStatusAsString()
The overall status of the request to update the directory setting request. If the directory setting is deployed
in more than one region, and the request fails in any region, the overall status is Failed.
If the service returns an enum value that is not available in the current SDK version, requestStatus
will return DirectoryConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from requestStatusAsString().
Failed.DirectoryConfigurationStatuspublic final Map<String,DirectoryConfigurationStatus> requestDetailedStatus()
Details about the status of the request to update the directory setting. If the directory setting is deployed in more than one region, status is returned for the request in each region where the setting is deployed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRequestDetailedStatus() method.
public final boolean hasRequestDetailedStatus()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final Map<String,String> requestDetailedStatusAsStrings()
Details about the status of the request to update the directory setting. If the directory setting is deployed in more than one region, status is returned for the request in each region where the setting is deployed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRequestDetailedStatus() method.
public final String requestStatusMessage()
The last status message for the directory status request.
public final Instant lastUpdatedDateTime()
The date and time when the directory setting was last updated.
public final Instant lastRequestedDateTime()
The date and time when the request to update a directory setting was last submitted.
public final String dataType()
The data type of a directory setting. This is used to define the AllowedValues of a setting. For
example a data type can be Boolean, DurationInSeconds, or Enum.
AllowedValues of a setting.
For example a data type can be Boolean, DurationInSeconds, or Enum
.public SettingEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SettingEntry.Builder,SettingEntry>public static SettingEntry.Builder builder()
public static Class<? extends SettingEntry.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.