public class CreateAuditSuppressionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a Device Defender audit suppression.
Constructor and Description |
---|
CreateAuditSuppressionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCheckName()
An audit check name.
|
java.lang.String |
getClientRequestToken()
The epoch timestamp in seconds at which this suppression expires.
|
java.lang.String |
getDescription()
The description of the audit suppression.
|
java.util.Date |
getExpirationDate()
The epoch timestamp in seconds at which this suppression expires.
|
ResourceIdentifier |
getResourceIdentifier()
Information that identifies the noncompliant resource.
|
java.lang.Boolean |
getSuppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.
|
int |
hashCode() |
java.lang.Boolean |
isSuppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.
|
void |
setCheckName(java.lang.String checkName)
An audit check name.
|
void |
setClientRequestToken(java.lang.String clientRequestToken)
The epoch timestamp in seconds at which this suppression expires.
|
void |
setDescription(java.lang.String description)
The description of the audit suppression.
|
void |
setExpirationDate(java.util.Date expirationDate)
The epoch timestamp in seconds at which this suppression expires.
|
void |
setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
|
void |
setSuppressIndefinitely(java.lang.Boolean suppressIndefinitely)
Indicates whether a suppression should exist indefinitely or not.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAuditSuppressionRequest |
withCheckName(java.lang.String checkName)
An audit check name.
|
CreateAuditSuppressionRequest |
withClientRequestToken(java.lang.String clientRequestToken)
The epoch timestamp in seconds at which this suppression expires.
|
CreateAuditSuppressionRequest |
withDescription(java.lang.String description)
The description of the audit suppression.
|
CreateAuditSuppressionRequest |
withExpirationDate(java.util.Date expirationDate)
The epoch timestamp in seconds at which this suppression expires.
|
CreateAuditSuppressionRequest |
withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
|
CreateAuditSuppressionRequest |
withSuppressIndefinitely(java.lang.Boolean suppressIndefinitely)
Indicates whether a suppression should exist indefinitely or not.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getCheckName()
An audit check name. Checks must be enabled for your account. (Use
DescribeAccountAuditConfiguration
to see the list of all
checks, including those that are enabled or use
UpdateAccountAuditConfiguration
to select which checks are
enabled.)
An audit check name. Checks must be enabled for your account.
(Use DescribeAccountAuditConfiguration
to see the
list of all checks, including those that are enabled or use
UpdateAccountAuditConfiguration
to select which
checks are enabled.)
public void setCheckName(java.lang.String checkName)
An audit check name. Checks must be enabled for your account. (Use
DescribeAccountAuditConfiguration
to see the list of all
checks, including those that are enabled or use
UpdateAccountAuditConfiguration
to select which checks are
enabled.)
checkName
-
An audit check name. Checks must be enabled for your account.
(Use DescribeAccountAuditConfiguration
to see the
list of all checks, including those that are enabled or use
UpdateAccountAuditConfiguration
to select which
checks are enabled.)
public CreateAuditSuppressionRequest withCheckName(java.lang.String checkName)
An audit check name. Checks must be enabled for your account. (Use
DescribeAccountAuditConfiguration
to see the list of all
checks, including those that are enabled or use
UpdateAccountAuditConfiguration
to select which checks are
enabled.)
Returns a reference to this object so that method calls can be chained together.
checkName
-
An audit check name. Checks must be enabled for your account.
(Use DescribeAccountAuditConfiguration
to see the
list of all checks, including those that are enabled or use
UpdateAccountAuditConfiguration
to select which
checks are enabled.)
public ResourceIdentifier getResourceIdentifier()
Information that identifies the noncompliant resource.
Information that identifies the noncompliant resource.
public void setResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
resourceIdentifier
- Information that identifies the noncompliant resource.
public CreateAuditSuppressionRequest withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
Returns a reference to this object so that method calls can be chained together.
resourceIdentifier
- Information that identifies the noncompliant resource.
public java.util.Date getExpirationDate()
The epoch timestamp in seconds at which this suppression expires.
The epoch timestamp in seconds at which this suppression expires.
public void setExpirationDate(java.util.Date expirationDate)
The epoch timestamp in seconds at which this suppression expires.
expirationDate
- The epoch timestamp in seconds at which this suppression expires.
public CreateAuditSuppressionRequest withExpirationDate(java.util.Date expirationDate)
The epoch timestamp in seconds at which this suppression expires.
Returns a reference to this object so that method calls can be chained together.
expirationDate
- The epoch timestamp in seconds at which this suppression expires.
public java.lang.Boolean isSuppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.
Indicates whether a suppression should exist indefinitely or not.
public java.lang.Boolean getSuppressIndefinitely()
Indicates whether a suppression should exist indefinitely or not.
Indicates whether a suppression should exist indefinitely or not.
public void setSuppressIndefinitely(java.lang.Boolean suppressIndefinitely)
Indicates whether a suppression should exist indefinitely or not.
suppressIndefinitely
- Indicates whether a suppression should exist indefinitely or not.
public CreateAuditSuppressionRequest withSuppressIndefinitely(java.lang.Boolean suppressIndefinitely)
Indicates whether a suppression should exist indefinitely or not.
Returns a reference to this object so that method calls can be chained together.
suppressIndefinitely
- Indicates whether a suppression should exist indefinitely or not.
public java.lang.String getDescription()
The description of the audit suppression.
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
The description of the audit suppression.
public void setDescription(java.lang.String description)
The description of the audit suppression.
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
description
- The description of the audit suppression.
public CreateAuditSuppressionRequest withDescription(java.lang.String description)
The description of the audit suppression.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
description
- The description of the audit suppression.
public java.lang.String getClientRequestToken()
The epoch timestamp in seconds at which this suppression expires.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-_]+$
The epoch timestamp in seconds at which this suppression expires.
public void setClientRequestToken(java.lang.String clientRequestToken)
The epoch timestamp in seconds at which this suppression expires.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-_]+$
clientRequestToken
- The epoch timestamp in seconds at which this suppression expires.
public CreateAuditSuppressionRequest withClientRequestToken(java.lang.String clientRequestToken)
The epoch timestamp in seconds at which this suppression expires.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: ^[a-zA-Z0-9-_]+$
clientRequestToken
- The epoch timestamp in seconds at which this suppression expires.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.