@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()
For responses, this returns true if the service returned a value for the ActionsDefinition property.
|
boolean |
hasAuditCheckToActionsMapping()
For responses, this returns true if the service returned a value for the AuditCheckToActionsMapping property.
|
int |
hashCode() |
boolean |
hasTaskStatistics()
For responses, this returns true if the service returned a value for the TaskStatistics property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTaskStatistics() method.
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()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAuditCheckToActionsMapping() method.
public final boolean hasActionsDefinition()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasActionsDefinition() method.
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 © 2022. All rights reserved.