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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AuditSuppression.BuildercheckName(String checkName)Sets the value of the CheckName property for this object.AuditSuppression.Builderdescription(String description)The description of the audit suppression.AuditSuppression.BuilderexpirationDate(Instant expirationDate)The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.default AuditSuppression.BuilderresourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier)Sets the value of the ResourceIdentifier property for this object.AuditSuppression.BuilderresourceIdentifier(ResourceIdentifier resourceIdentifier)Sets the value of the ResourceIdentifier property for this object.AuditSuppression.BuildersuppressIndefinitely(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 Detail
-
checkName
AuditSuppression.Builder checkName(String 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
AuditSuppression.Builder resourceIdentifier(ResourceIdentifier 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.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:
resourceIdentifier(ResourceIdentifier)
-
expirationDate
AuditSuppression.Builder expirationDate(Instant 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
AuditSuppression.Builder suppressIndefinitely(Boolean 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
AuditSuppression.Builder description(String 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.
-
-