public class AuditSuppression
extends java.lang.Object
implements java.io.Serializable
Filters out specific findings of a Device Defender audit.
Constructor and Description |
---|
AuditSuppression() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCheckName()
An audit check name.
|
java.lang.String |
getDescription()
The description of the audit suppression.
|
java.util.Date |
getExpirationDate()
The expiration date (epoch timestamp in seconds) that you want the
suppression to adhere to.
|
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 |
setDescription(java.lang.String description)
The description of the audit suppression.
|
void |
setExpirationDate(java.util.Date expirationDate)
The expiration date (epoch timestamp in seconds) that you want the
suppression to adhere to.
|
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.
|
AuditSuppression |
withCheckName(java.lang.String checkName)
An audit check name.
|
AuditSuppression |
withDescription(java.lang.String description)
The description of the audit suppression.
|
AuditSuppression |
withExpirationDate(java.util.Date expirationDate)
The expiration date (epoch timestamp in seconds) that you want the
suppression to adhere to.
|
AuditSuppression |
withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
|
AuditSuppression |
withSuppressIndefinitely(java.lang.Boolean suppressIndefinitely)
Indicates whether a suppression should exist indefinitely or not.
|
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 AuditSuppression 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 AuditSuppression 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 expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
public void setExpirationDate(java.util.Date expirationDate)
The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
expirationDate
- The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
public AuditSuppression withExpirationDate(java.util.Date expirationDate)
The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
Returns a reference to this object so that method calls can be chained together.
expirationDate
- The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
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 AuditSuppression 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 AuditSuppression 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 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.