Interface CreateAuditSuppressionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateAuditSuppressionRequest.Builder,
,CreateAuditSuppressionRequest> IotRequest.Builder
,SdkBuilder<CreateAuditSuppressionRequest.Builder,
,CreateAuditSuppressionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAuditSuppressionRequest
public static interface CreateAuditSuppressionRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateAuditSuppressionRequest.Builder,CreateAuditSuppressionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the CheckName property for this object.clientRequestToken
(String clientRequestToken) Each audit supression must have a unique client request token.description
(String description) The description of the audit suppression.expirationDate
(Instant expirationDate) The epoch timestamp in seconds at which this suppression expires.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceIdentifier
(Consumer<ResourceIdentifier.Builder> resourceIdentifier) Sets the value of the ResourceIdentifier property for this object.resourceIdentifier
(ResourceIdentifier resourceIdentifier) Sets the value of the ResourceIdentifier property for this object.suppressIndefinitely
(Boolean suppressIndefinitely) Indicates whether a suppression should exist indefinitely or not.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 Details
-
checkName
Sets the value of the CheckName property for this object.- Parameters:
checkName
- The new value for the CheckName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
Sets the value of the ResourceIdentifier property for this object.- Parameters:
resourceIdentifier
- The new value for the ResourceIdentifier property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceIdentifier
default CreateAuditSuppressionRequest.Builder resourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier) Sets the value of the ResourceIdentifier property for this object. 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:
-
expirationDate
The epoch timestamp in seconds at which this suppression expires.
- Parameters:
expirationDate
- The epoch timestamp in seconds at which this suppression expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressIndefinitely
Indicates whether a suppression should exist indefinitely or not.
- Parameters:
suppressIndefinitely
- Indicates whether a suppression should exist indefinitely or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the audit suppression.
- Parameters:
description
- The description of the audit suppression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
Each audit supression must have a unique client request token. If you try to create a new audit suppression with the same token as one that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.
- Parameters:
clientRequestToken
- Each audit supression must have a unique client request token. If you try to create a new audit suppression with the same token as one that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAuditSuppressionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAuditSuppressionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-