Interface ListAuditTasksRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListAuditTasksRequest.Builder,ListAuditTasksRequest>,IotRequest.Builder,SdkBuilder<ListAuditTasksRequest.Builder,ListAuditTasksRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListAuditTasksRequest
public static interface ListAuditTasksRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<ListAuditTasksRequest.Builder,ListAuditTasksRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAuditTasksRequest.BuilderendTime(Instant endTime)The end of the time period.ListAuditTasksRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return at one time.ListAuditTasksRequest.BuildernextToken(String nextToken)The token for the next set of results.ListAuditTasksRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListAuditTasksRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListAuditTasksRequest.BuilderstartTime(Instant startTime)The beginning of the time period.ListAuditTasksRequest.BuildertaskStatus(String taskStatus)A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".ListAuditTasksRequest.BuildertaskStatus(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".ListAuditTasksRequest.BuildertaskType(String 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".ListAuditTasksRequest.BuildertaskType(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".-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
startTime
ListAuditTasksRequest.Builder startTime(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".
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
ListAuditTasksRequest.Builder endTime(Instant endTime)
The end of the time period.
- Parameters:
endTime- The end of the time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskType
ListAuditTasksRequest.Builder taskType(String 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".
- Parameters:
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".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuditTaskType,AuditTaskType
-
taskType
ListAuditTasksRequest.Builder taskType(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".
- Parameters:
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".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuditTaskType,AuditTaskType
-
taskStatus
ListAuditTasksRequest.Builder taskStatus(String taskStatus)
A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".
- Parameters:
taskStatus- A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuditTaskStatus,AuditTaskStatus
-
taskStatus
ListAuditTasksRequest.Builder taskStatus(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".
- Parameters:
taskStatus- A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AuditTaskStatus,AuditTaskStatus
-
nextToken
ListAuditTasksRequest.Builder nextToken(String nextToken)
The token for the next set of results.
- Parameters:
nextToken- The token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListAuditTasksRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return at one time. The default is 25.
- Parameters:
maxResults- The maximum number of results to return at one time. The default is 25.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAuditTasksRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAuditTasksRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-