@Generated(value="software.amazon.awssdk:codegen") public final class DescribeAuditMitigationActionsTaskResponse extends IotResponse implements ToCopyableBuilder<DescribeAuditMitigationActionsTaskResponse.Builder,DescribeAuditMitigationActionsTaskResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeAuditMitigationActionsTaskResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<MitigationAction> |
actionsDefinition()
Specifies the mitigation actions and their parameters that are applied as part of this task.
|
Map<String,List<String>> |
auditCheckToActionsMapping()
Specifies the mitigation actions that should be applied to specific audit checks.
|
static DescribeAuditMitigationActionsTaskResponse.Builder |
builder() |
Instant |
endTime()
The date and time when the task was completed or canceled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActionsDefinition()
Returns true if the ActionsDefinition property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasAuditCheckToActionsMapping()
Returns true if the AuditCheckToActionsMapping property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTaskStatistics()
Returns true if the TaskStatistics property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeAuditMitigationActionsTaskResponse.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The date and time when the task was started.
|
AuditMitigationActionsTaskTarget |
target()
Identifies the findings to which the mitigation actions are applied.
|
Map<String,TaskStatisticsForAuditCheck> |
taskStatistics()
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation
actions task.
|
AuditMitigationActionsTaskStatus |
taskStatus()
The current status of the task.
|
String |
taskStatusAsString()
The current status of the task.
|
DescribeAuditMitigationActionsTaskResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AuditMitigationActionsTaskStatus taskStatus()
The current status of the task.
If the service returns an enum value that is not available in the current SDK version, taskStatus will
return AuditMitigationActionsTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from taskStatusAsString().
AuditMitigationActionsTaskStatuspublic final String taskStatusAsString()
The current status of the task.
If the service returns an enum value that is not available in the current SDK version, taskStatus will
return AuditMitigationActionsTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from taskStatusAsString().
AuditMitigationActionsTaskStatuspublic final Instant startTime()
The date and time when the task was started.
public final Instant endTime()
The date and time when the task was completed or canceled.
public final boolean hasTaskStatistics()
public final Map<String,TaskStatisticsForAuditCheck> taskStatistics()
Aggregate counts of the results when the mitigation tasks were applied to the findings for this audit mitigation actions task.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTaskStatistics() to see if a value was sent in this field.
public final AuditMitigationActionsTaskTarget target()
Identifies the findings to which the mitigation actions are applied. This can be by audit checks, by audit task, or a set of findings.
public final boolean hasAuditCheckToActionsMapping()
public final Map<String,List<String>> auditCheckToActionsMapping()
Specifies the mitigation actions that should be applied to specific audit checks.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAuditCheckToActionsMapping() to see if a value was sent in this field.
public final boolean hasActionsDefinition()
public final List<MitigationAction> actionsDefinition()
Specifies the mitigation actions and their parameters that are applied as part of this task.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasActionsDefinition() to see if a value was sent in this field.
public DescribeAuditMitigationActionsTaskResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeAuditMitigationActionsTaskResponse.Builder,DescribeAuditMitigationActionsTaskResponse>toBuilder in class AwsResponsepublic static DescribeAuditMitigationActionsTaskResponse.Builder builder()
public static Class<? extends DescribeAuditMitigationActionsTaskResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.