Interface ConfigurationDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurationDetails.Builder,ConfigurationDetails>,SdkBuilder<ConfigurationDetails.Builder,ConfigurationDetails>,SdkPojo
- Enclosing class:
- ConfigurationDetails
@Mutable @NotThreadSafe public static interface ConfigurationDetails.Builder extends SdkPojo, CopyableBuilder<ConfigurationDetails.Builder,ConfigurationDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurationDetails.BuilderconfigurationStatus(String configurationStatus)The health status of KMS key and KMS access role.ConfigurationDetails.BuilderconfigurationStatus(ConfigurationStatus configurationStatus)The health status of KMS key and KMS access role.ConfigurationDetails.BuildererrorCode(String errorCode)The error code that indicates either the KMS key or the KMS access role isUNHEALTHY.ConfigurationDetails.BuildererrorMessage(String errorMessage)The detailed error message that corresponds to theerrorCode.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
configurationStatus
ConfigurationDetails.Builder configurationStatus(String 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.- Parameters:
configurationStatus- The health status of KMS key and KMS access role. If either KMS key or KMS access role isUNHEALTHY, the return value will beUNHEALTHY. To use a customer-managed KMS key, the value ofconfigurationStatusmust beHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigurationStatus,ConfigurationStatus
-
configurationStatus
ConfigurationDetails.Builder configurationStatus(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.- Parameters:
configurationStatus- The health status of KMS key and KMS access role. If either KMS key or KMS access role isUNHEALTHY, the return value will beUNHEALTHY. To use a customer-managed KMS key, the value ofconfigurationStatusmust beHEALTHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigurationStatus,ConfigurationStatus
-
errorCode
ConfigurationDetails.Builder errorCode(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.- Parameters:
errorCode- The error code that indicates either the KMS key or the KMS access role isUNHEALTHY. Valid values:KMS_KEY_VALIDATION_ERRORandROLE_VALIDATION_ERROR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
ConfigurationDetails.Builder errorMessage(String errorMessage)
The detailed error message that corresponds to the
errorCode.- Parameters:
errorMessage- The detailed error message that corresponds to theerrorCode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-