Class CreateAuditSuppressionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.iot.model.IotRequest
-
- software.amazon.awssdk.services.iot.model.CreateAuditSuppressionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateAuditSuppressionRequest.Builder,CreateAuditSuppressionRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateAuditSuppressionRequest extends IotRequest implements ToCopyableBuilder<CreateAuditSuppressionRequest.Builder,CreateAuditSuppressionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateAuditSuppressionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateAuditSuppressionRequest.Builderbuilder()StringcheckName()Returns the value of the CheckName property for this object.StringclientRequestToken()Each audit supression must have a unique client request token.Stringdescription()The description of the audit suppression.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpirationDate()The epoch timestamp in seconds at which this suppression expires.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ResourceIdentifierresourceIdentifier()Returns the value of the ResourceIdentifier property for this object.List<SdkField<?>>sdkFields()static Class<? extends CreateAuditSuppressionRequest.Builder>serializableBuilderClass()BooleansuppressIndefinitely()Indicates whether a suppression should exist indefinitely or not.CreateAuditSuppressionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
checkName
public final String checkName()
Returns the value of the CheckName property for this object.- Returns:
- The value of the CheckName property for this object.
-
resourceIdentifier
public final ResourceIdentifier resourceIdentifier()
Returns the value of the ResourceIdentifier property for this object.- Returns:
- The value of the ResourceIdentifier property for this object.
-
expirationDate
public final Instant expirationDate()
The epoch timestamp in seconds at which this suppression expires.
- Returns:
- The epoch timestamp in seconds at which this suppression expires.
-
suppressIndefinitely
public final Boolean suppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.
- Returns:
- Indicates whether a suppression should exist indefinitely or not.
-
description
public final String description()
The description of the audit suppression.
- Returns:
- The description of the audit suppression.
-
clientRequestToken
public final 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.
- Returns:
- 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.
-
toBuilder
public CreateAuditSuppressionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateAuditSuppressionRequest.Builder,CreateAuditSuppressionRequest>- Specified by:
toBuilderin classIotRequest
-
builder
public static CreateAuditSuppressionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateAuditSuppressionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-