Class ConfigurationDetails
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.ConfigurationDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfigurationDetails.Builder,ConfigurationDetails>
@Generated("software.amazon.awssdk:codegen") public final class ConfigurationDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfigurationDetails.Builder,ConfigurationDetails>
The encryption configuration details that include the status information of the Amazon Web Services Key Management Service (KMS) key and the KMS access role.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfigurationDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurationDetails.Builderbuilder()ConfigurationStatusconfigurationStatus()The health status of KMS key and KMS access role.StringconfigurationStatusAsString()The health status of KMS key and KMS access role.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()The error code that indicates either the KMS key or the KMS access role isUNHEALTHY.StringerrorMessage()The detailed error message that corresponds to theerrorCode.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ConfigurationDetails.Builder>serializableBuilderClass()ConfigurationDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
configurationStatus
public final ConfigurationStatus configurationStatus()
The health status of KMS key and KMS access role. If either KMS key or KMS access role is
UNHEALTHY, the return value will beUNHEALTHY. To use a customer-managed KMS key, the value ofconfigurationStatusmust beHEALTHY.If the service returns an enum value that is not available in the current SDK version,
configurationStatuswill returnConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationStatusAsString().- Returns:
- The health status of KMS key and KMS access role. If either KMS key or KMS access role is
UNHEALTHY, the return value will beUNHEALTHY. To use a customer-managed KMS key, the value ofconfigurationStatusmust beHEALTHY. - See Also:
ConfigurationStatus
-
configurationStatusAsString
public final String configurationStatusAsString()
The health status of KMS key and KMS access role. If either KMS key or KMS access role is
UNHEALTHY, the return value will beUNHEALTHY. To use a customer-managed KMS key, the value ofconfigurationStatusmust beHEALTHY.If the service returns an enum value that is not available in the current SDK version,
configurationStatuswill returnConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationStatusAsString().- Returns:
- The health status of KMS key and KMS access role. If either KMS key or KMS access role is
UNHEALTHY, the return value will beUNHEALTHY. To use a customer-managed KMS key, the value ofconfigurationStatusmust beHEALTHY. - See Also:
ConfigurationStatus
-
errorCode
public final String errorCode()
The error code that indicates either the KMS key or the KMS access role is
UNHEALTHY. Valid values:KMS_KEY_VALIDATION_ERRORandROLE_VALIDATION_ERROR.- Returns:
- The error code that indicates either the KMS key or the KMS access role is
UNHEALTHY. Valid values:KMS_KEY_VALIDATION_ERRORandROLE_VALIDATION_ERROR.
-
errorMessage
public final String errorMessage()
The detailed error message that corresponds to the
errorCode.- Returns:
- The detailed error message that corresponds to the
errorCode.
-
toBuilder
public ConfigurationDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfigurationDetails.Builder,ConfigurationDetails>
-
builder
public static ConfigurationDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfigurationDetails.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-