public class UpdateAuditSuppressionRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates a Device Defender audit suppression.
Constructor and Description |
---|
UpdateAuditSuppressionRequest() |
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.
|
UpdateAuditSuppressionRequest |
withCheckName(java.lang.String checkName)
An audit check name.
|
UpdateAuditSuppressionRequest |
withDescription(java.lang.String description)
The description of the audit suppression.
|
UpdateAuditSuppressionRequest |
withExpirationDate(java.util.Date expirationDate)
The expiration date (epoch timestamp in seconds) that you want the
suppression to adhere to.
|
UpdateAuditSuppressionRequest |
withResourceIdentifier(ResourceIdentifier resourceIdentifier)
Information that identifies the noncompliant resource.
|
UpdateAuditSuppressionRequest |
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 UpdateAuditSuppressionRequest 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 UpdateAuditSuppressionRequest 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 UpdateAuditSuppressionRequest 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 UpdateAuditSuppressionRequest 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 UpdateAuditSuppressionRequest 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.