Interface UpdateAuditSuppressionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAuditSuppressionRequest.Builder,,UpdateAuditSuppressionRequest> IotRequest.Builder,SdkBuilder<UpdateAuditSuppressionRequest.Builder,,UpdateAuditSuppressionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateAuditSuppressionRequest
public static interface UpdateAuditSuppressionRequest.Builder
extends IotRequest.Builder, SdkPojo, CopyableBuilder<UpdateAuditSuppressionRequest.Builder,UpdateAuditSuppressionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the CheckName property for this object.description(String description) The description of the audit suppression.expirationDate(Instant expirationDate) The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 UpdateAuditSuppressionRequest.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.Builderavoiding the need to create one manually viaResourceIdentifier.builder().When the
Consumercompletes,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 expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
- Parameters:
expirationDate- The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.- 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.
-
overrideConfiguration
UpdateAuditSuppressionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAuditSuppressionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-