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
-
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 Detail
-
checkName
CreateAuditSuppressionRequest.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
CreateAuditSuppressionRequest.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 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.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
CreateAuditSuppressionRequest.Builder expirationDate(Instant 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
CreateAuditSuppressionRequest.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
CreateAuditSuppressionRequest.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.
-
clientRequestToken
CreateAuditSuppressionRequest.Builder clientRequestToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAuditSuppressionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-