@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAuditSuppressionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAuditSuppressionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAuditSuppressionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCheckName() |
String |
getClientRequestToken()
Each audit supression must have a unique client request token.
|
String |
getDescription()
The description of the audit suppression.
|
Date |
getExpirationDate()
The epoch timestamp in seconds at which this suppression expires.
|
ResourceIdentifier |
getResourceIdentifier() |
Boolean |
getSuppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.
|
int |
hashCode() |
Boolean |
isSuppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.
|
void |
setCheckName(String checkName) |
void |
setClientRequestToken(String clientRequestToken)
Each audit supression must have a unique client request token.
|
void |
setDescription(String description)
The description of the audit suppression.
|
void |
setExpirationDate(Date expirationDate)
The epoch timestamp in seconds at which this suppression expires.
|
void |
setResourceIdentifier(ResourceIdentifier resourceIdentifier) |
void |
setSuppressIndefinitely(Boolean suppressIndefinitely)
Indicates whether a suppression should exist indefinitely or not.
|
String |
toString()
Returns a string representation of this object.
|
CreateAuditSuppressionRequest |
withCheckName(String checkName) |
CreateAuditSuppressionRequest |
withClientRequestToken(String clientRequestToken)
Each audit supression must have a unique client request token.
|
CreateAuditSuppressionRequest |
withDescription(String description)
The description of the audit suppression.
|
CreateAuditSuppressionRequest |
withExpirationDate(Date expirationDate)
The epoch timestamp in seconds at which this suppression expires.
|
CreateAuditSuppressionRequest |
withResourceIdentifier(ResourceIdentifier resourceIdentifier) |
CreateAuditSuppressionRequest |
withSuppressIndefinitely(Boolean suppressIndefinitely)
Indicates whether a suppression should exist indefinitely or not.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCheckName(String checkName)
checkName
- public String getCheckName()
public CreateAuditSuppressionRequest withCheckName(String checkName)
checkName
- public void setResourceIdentifier(ResourceIdentifier resourceIdentifier)
resourceIdentifier
- public ResourceIdentifier getResourceIdentifier()
public CreateAuditSuppressionRequest withResourceIdentifier(ResourceIdentifier resourceIdentifier)
resourceIdentifier
- public void setExpirationDate(Date expirationDate)
The epoch timestamp in seconds at which this suppression expires.
expirationDate
- The epoch timestamp in seconds at which this suppression expires.public Date getExpirationDate()
The epoch timestamp in seconds at which this suppression expires.
public CreateAuditSuppressionRequest withExpirationDate(Date expirationDate)
The epoch timestamp in seconds at which this suppression expires.
expirationDate
- The epoch timestamp in seconds at which this suppression expires.public void setSuppressIndefinitely(Boolean suppressIndefinitely)
Indicates whether a suppression should exist indefinitely or not.
suppressIndefinitely
- Indicates whether a suppression should exist indefinitely or not.public Boolean getSuppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.
public CreateAuditSuppressionRequest withSuppressIndefinitely(Boolean suppressIndefinitely)
Indicates whether a suppression should exist indefinitely or not.
suppressIndefinitely
- Indicates whether a suppression should exist indefinitely or not.public Boolean isSuppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.
public void setDescription(String description)
The description of the audit suppression.
description
- The description of the audit suppression.public String getDescription()
The description of the audit suppression.
public CreateAuditSuppressionRequest withDescription(String description)
The description of the audit suppression.
description
- The description of the audit suppression.public void setClientRequestToken(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.
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.public String getClientRequestToken()
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.
public CreateAuditSuppressionRequest withClientRequestToken(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.
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.public String toString()
toString
in class Object
Object.toString()
public CreateAuditSuppressionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()