@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.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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()
.
AuditMitigationActionsTaskStatus
public 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()
.
AuditMitigationActionsTaskStatus
public Instant startTime()
The date and time when the task was started.
public Instant endTime()
The date and time when the task was completed or canceled.
public boolean hasTaskStatistics()
public 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 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 boolean hasAuditCheckToActionsMapping()
public 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 boolean hasActionsDefinition()
public 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 AwsResponse
public static DescribeAuditMitigationActionsTaskResponse.Builder builder()
public static Class<? extends DescribeAuditMitigationActionsTaskResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2020. All rights reserved.