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 interface
CreateAuditSuppressionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateAuditSuppressionRequest.Builder
builder()
String
checkName()
Returns the value of the CheckName property for this object.String
clientRequestToken()
Each audit supression must have a unique client request token.String
description()
The description of the audit suppression.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
Instant
expirationDate()
The epoch timestamp in seconds at which this suppression expires.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
ResourceIdentifier
resourceIdentifier()
Returns the value of the ResourceIdentifier property for this object.List<SdkField<?>>
sdkFields()
static Class<? extends CreateAuditSuppressionRequest.Builder>
serializableBuilderClass()
Boolean
suppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.CreateAuditSuppressionRequest.Builder
toBuilder()
String
toString()
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:
toBuilder
in interfaceToCopyableBuilder<CreateAuditSuppressionRequest.Builder,CreateAuditSuppressionRequest>
- Specified by:
toBuilder
in classIotRequest
-
builder
public static CreateAuditSuppressionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateAuditSuppressionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-