Interface ListAuditFindingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListAuditFindingsRequest.Builder,ListAuditFindingsRequest>
,IotRequest.Builder
,SdkBuilder<ListAuditFindingsRequest.Builder,ListAuditFindingsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ListAuditFindingsRequest
public static interface ListAuditFindingsRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<ListAuditFindingsRequest.Builder,ListAuditFindingsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListAuditFindingsRequest.Builder
checkName(String checkName)
A filter to limit results to the findings for the specified audit check.ListAuditFindingsRequest.Builder
endTime(Instant endTime)
A filter to limit results to those found before the specified time.ListAuditFindingsRequest.Builder
listSuppressedFindings(Boolean listSuppressedFindings)
Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed.ListAuditFindingsRequest.Builder
maxResults(Integer maxResults)
The maximum number of results to return at one time.ListAuditFindingsRequest.Builder
nextToken(String nextToken)
The token for the next set of results.ListAuditFindingsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ListAuditFindingsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default ListAuditFindingsRequest.Builder
resourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier)
Information identifying the noncompliant resource.ListAuditFindingsRequest.Builder
resourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the noncompliant resource.ListAuditFindingsRequest.Builder
startTime(Instant startTime)
A filter to limit results to those found after the specified time.ListAuditFindingsRequest.Builder
taskId(String taskId)
A filter to limit results to the audit with the specified ID.-
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
-
taskId
ListAuditFindingsRequest.Builder taskId(String taskId)
A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.
- Parameters:
taskId
- A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checkName
ListAuditFindingsRequest.Builder checkName(String checkName)
A filter to limit results to the findings for the specified audit check.
- Parameters:
checkName
- A filter to limit results to the findings for the specified audit check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
ListAuditFindingsRequest.Builder resourceIdentifier(ResourceIdentifier resourceIdentifier)
Information identifying the noncompliant resource.
- Parameters:
resourceIdentifier
- Information identifying the noncompliant resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
default ListAuditFindingsRequest.Builder resourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier)
Information identifying the noncompliant resource.
This is a convenience method that creates an instance of theResourceIdentifier.Builder
avoiding the need to create one manually viaResourceIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceIdentifier(ResourceIdentifier)
.- Parameters:
resourceIdentifier
- a consumer that will call methods onResourceIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceIdentifier(ResourceIdentifier)
-
maxResults
ListAuditFindingsRequest.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.
-
nextToken
ListAuditFindingsRequest.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.
-
startTime
ListAuditFindingsRequest.Builder startTime(Instant startTime)
A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
- Parameters:
startTime
- A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
ListAuditFindingsRequest.Builder endTime(Instant endTime)
A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.
- Parameters:
endTime
- A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
listSuppressedFindings
ListAuditFindingsRequest.Builder listSuppressedFindings(Boolean listSuppressedFindings)
Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.
- Parameters:
listSuppressedFindings
- Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListAuditFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListAuditFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-