Interface AuditSuppression.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuditSuppression.Builder,
,AuditSuppression> SdkBuilder<AuditSuppression.Builder,
,AuditSuppression> SdkPojo
- Enclosing class:
AuditSuppression
public static interface AuditSuppression.Builder
extends SdkPojo, CopyableBuilder<AuditSuppression.Builder,AuditSuppression>
-
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.default AuditSuppression.Builder
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.utils.builder.CopyableBuilder
copy
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 AuditSuppression.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 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.
-