Class ListAuditTasksRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.ListAuditTasksRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListAuditTasksRequest.Builder,ListAuditTasksRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListAuditTasksRequest extends IotRequest implements ToCopyableBuilder<ListAuditTasksRequest.Builder,ListAuditTasksRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListAuditTasksRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListAuditTasksRequest.Builderbuilder()InstantendTime()The end of the time period.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return at one time.StringnextToken()The token for the next set of results.List<SdkField<?>>sdkFields()static Class<? extends ListAuditTasksRequest.Builder>serializableBuilderClass()InstantstartTime()The beginning of the time period.AuditTaskStatustaskStatus()A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".StringtaskStatusAsString()A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".AuditTaskTypetaskType()A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".StringtaskTypeAsString()A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".ListAuditTasksRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
startTime
public final Instant startTime()
The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".
- Returns:
- The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".
-
endTime
public final Instant endTime()
The end of the time period.
- Returns:
- The end of the time period.
-
taskType
public final AuditTaskType taskType()
A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
If the service returns an enum value that is not available in the current SDK version,
taskTypewill returnAuditTaskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtaskTypeAsString().- Returns:
- A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
- See Also:
AuditTaskType
-
taskTypeAsString
public final String taskTypeAsString()
A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
If the service returns an enum value that is not available in the current SDK version,
taskTypewill returnAuditTaskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtaskTypeAsString().- Returns:
- A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".
- See Also:
AuditTaskType
-
taskStatus
public final AuditTaskStatus taskStatus()
A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
If the service returns an enum value that is not available in the current SDK version,
taskStatuswill returnAuditTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtaskStatusAsString().- Returns:
- A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
- See Also:
AuditTaskStatus
-
taskStatusAsString
public final String taskStatusAsString()
A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
If the service returns an enum value that is not available in the current SDK version,
taskStatuswill returnAuditTaskStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtaskStatusAsString().- Returns:
- A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
- See Also:
AuditTaskStatus
-
nextToken
public final String nextToken()
The token for the next set of results.
- Returns:
- The token for the next set of results.
-
maxResults
public final Integer maxResults()
The maximum number of results to return at one time. The default is 25.
- Returns:
- The maximum number of results to return at one time. The default is 25.
-
toBuilder
public ListAuditTasksRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListAuditTasksRequest.Builder,ListAuditTasksRequest>- Specified by:
toBuilderin classIotRequest
-
builder
public static ListAuditTasksRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListAuditTasksRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-