Class RemediationException
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.RemediationException
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RemediationException.Builder,RemediationException>
@Generated("software.amazon.awssdk:codegen") public final class RemediationException extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RemediationException.Builder,RemediationException>
An object that represents the details about the remediation exception. The details include the rule name, an explanation of an exception, the time when the exception will be deleted, the resource ID, and resource type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRemediationException.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemediationException.Builderbuilder()StringconfigRuleName()The name of the Config rule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpirationTime()The time when the remediation exception will be deleted.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()An explanation of an remediation exception.StringresourceId()The ID of the resource (for example., sg-xxxxxx).StringresourceType()The type of a resource.List<SdkField<?>>sdkFields()static Class<? extends RemediationException.Builder>serializableBuilderClass()RemediationException.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
-
configRuleName
public final String configRuleName()
The name of the Config rule.
- Returns:
- The name of the Config rule.
-
resourceType
public final String resourceType()
The type of a resource.
- Returns:
- The type of a resource.
-
resourceId
public final String resourceId()
The ID of the resource (for example., sg-xxxxxx).
- Returns:
- The ID of the resource (for example., sg-xxxxxx).
-
message
public final String message()
An explanation of an remediation exception.
- Returns:
- An explanation of an remediation exception.
-
expirationTime
public final Instant expirationTime()
The time when the remediation exception will be deleted.
- Returns:
- The time when the remediation exception will be deleted.
-
toBuilder
public RemediationException.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RemediationException.Builder,RemediationException>
-
builder
public static RemediationException.Builder builder()
-
serializableBuilderClass
public static Class<? extends RemediationException.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.
-
-