Interface ListAuditSuppressionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAuditSuppressionsResponse.Builder,
,ListAuditSuppressionsResponse> IotResponse.Builder
,SdkBuilder<ListAuditSuppressionsResponse.Builder,
,ListAuditSuppressionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAuditSuppressionsResponse
public static interface ListAuditSuppressionsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListAuditSuppressionsResponse.Builder,ListAuditSuppressionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that can be used to retrieve the next set of results, ornull
if there are no additional results.suppressions
(Collection<AuditSuppression> suppressions) List of audit suppressions.suppressions
(Consumer<AuditSuppression.Builder>... suppressions) List of audit suppressions.suppressions
(AuditSuppression... suppressions) List of audit suppressions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
suppressions
List of audit suppressions.
- Parameters:
suppressions
- List of audit suppressions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressions
List of audit suppressions.
- Parameters:
suppressions
- List of audit suppressions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressions
ListAuditSuppressionsResponse.Builder suppressions(Consumer<AuditSuppression.Builder>... suppressions) List of audit suppressions.
This is a convenience method that creates an instance of theAuditSuppression.Builder
avoiding the need to create one manually viaAuditSuppression.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuppressions(List<AuditSuppression>)
.- Parameters:
suppressions
- a consumer that will call methods onAuditSuppression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that can be used to retrieve the next set of results, or
null
if there are no additional results.- Parameters:
nextToken
- A token that can be used to retrieve the next set of results, ornull
if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-