Class DetectMitigationActionExecution
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.DetectMitigationActionExecution
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DetectMitigationActionExecution.Builder,DetectMitigationActionExecution>
@Generated("software.amazon.awssdk:codegen") public final class DetectMitigationActionExecution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DetectMitigationActionExecution.Builder,DetectMitigationActionExecution>
Describes which mitigation actions should be executed.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDetectMitigationActionExecution.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionName()The friendly name that uniquely identifies the mitigation action.static DetectMitigationActionExecution.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()The error code of a mitigation action.InstantexecutionEndDate()The date a mitigation action ended.InstantexecutionStartDate()The date a mitigation action was started.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()The message of a mitigation action.List<SdkField<?>>sdkFields()static Class<? extends DetectMitigationActionExecution.Builder>serializableBuilderClass()DetectMitigationActionExecutionStatusstatus()The status of a mitigation action.StringstatusAsString()The status of a mitigation action.StringtaskId()The unique identifier of the task.StringthingName()The name of the thing.DetectMitigationActionExecution.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringviolationId()The unique identifier of the violation.-
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
-
taskId
public final String taskId()
The unique identifier of the task.
- Returns:
- The unique identifier of the task.
-
violationId
public final String violationId()
The unique identifier of the violation.
- Returns:
- The unique identifier of the violation.
-
actionName
public final String actionName()
The friendly name that uniquely identifies the mitigation action.
- Returns:
- The friendly name that uniquely identifies the mitigation action.
-
thingName
public final String thingName()
The name of the thing.
- Returns:
- The name of the thing.
-
executionStartDate
public final Instant executionStartDate()
The date a mitigation action was started.
- Returns:
- The date a mitigation action was started.
-
executionEndDate
public final Instant executionEndDate()
The date a mitigation action ended.
- Returns:
- The date a mitigation action ended.
-
status
public final DetectMitigationActionExecutionStatus status()
The status of a mitigation action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDetectMitigationActionExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a mitigation action.
- See Also:
DetectMitigationActionExecutionStatus
-
statusAsString
public final String statusAsString()
The status of a mitigation action.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDetectMitigationActionExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a mitigation action.
- See Also:
DetectMitigationActionExecutionStatus
-
errorCode
public final String errorCode()
The error code of a mitigation action.
- Returns:
- The error code of a mitigation action.
-
message
public final String message()
The message of a mitigation action.
- Returns:
- The message of a mitigation action.
-
toBuilder
public DetectMitigationActionExecution.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DetectMitigationActionExecution.Builder,DetectMitigationActionExecution>
-
builder
public static DetectMitigationActionExecution.Builder builder()
-
serializableBuilderClass
public static Class<? extends DetectMitigationActionExecution.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.
-
-