public class UpdateAccountAuditConfigurationRequest extends AmazonWebServiceRequest implements java.io.Serializable
Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Constructor and Description |
---|
UpdateAccountAuditConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAccountAuditConfigurationRequest |
addauditCheckConfigurationsEntry(java.lang.String key,
AuditCheckConfiguration value)
Specifies which audit checks are enabled and disabled for this account.
|
UpdateAccountAuditConfigurationRequest |
addauditNotificationTargetConfigurationsEntry(java.lang.String key,
AuditNotificationTarget value)
Information about the targets to which audit notifications are sent.
|
UpdateAccountAuditConfigurationRequest |
clearauditCheckConfigurationsEntries()
Removes all the entries added into auditCheckConfigurations.
|
UpdateAccountAuditConfigurationRequest |
clearauditNotificationTargetConfigurationsEntries()
Removes all the entries added into auditNotificationTargetConfigurations.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,AuditCheckConfiguration> |
getAuditCheckConfigurations()
Specifies which audit checks are enabled and disabled for this account.
|
java.util.Map<java.lang.String,AuditNotificationTarget> |
getAuditNotificationTargetConfigurations()
Information about the targets to which audit notifications are sent.
|
java.lang.String |
getRoleArn()
The Amazon Resource Name (ARN) of the role that grants permission to AWS
IoT to access information about your devices, policies, certificates, and
other items as required when performing an audit.
|
int |
hashCode() |
void |
setAuditCheckConfigurations(java.util.Map<java.lang.String,AuditCheckConfiguration> auditCheckConfigurations)
Specifies which audit checks are enabled and disabled for this account.
|
void |
setAuditNotificationTargetConfigurations(java.util.Map<java.lang.String,AuditNotificationTarget> auditNotificationTargetConfigurations)
Information about the targets to which audit notifications are sent.
|
void |
setRoleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of the role that grants permission to AWS
IoT to access information about your devices, policies, certificates, and
other items as required when performing an audit.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAccountAuditConfigurationRequest |
withAuditCheckConfigurations(java.util.Map<java.lang.String,AuditCheckConfiguration> auditCheckConfigurations)
Specifies which audit checks are enabled and disabled for this account.
|
UpdateAccountAuditConfigurationRequest |
withAuditNotificationTargetConfigurations(java.util.Map<java.lang.String,AuditNotificationTarget> auditNotificationTargetConfigurations)
Information about the targets to which audit notifications are sent.
|
UpdateAccountAuditConfigurationRequest |
withRoleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of the role that grants permission to AWS
IoT to access information about your devices, policies, certificates, and
other items as required when performing an audit.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public UpdateAccountAuditConfigurationRequest()
public java.lang.String getRoleArn()
The Amazon Resource Name (ARN) of the role that grants permission to AWS IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
Constraints:
Length: 20 - 2048
The Amazon Resource Name (ARN) of the role that grants permission to AWS IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
public void setRoleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of the role that grants permission to AWS IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
Constraints:
Length: 20 - 2048
roleArn
- The Amazon Resource Name (ARN) of the role that grants permission to AWS IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
public UpdateAccountAuditConfigurationRequest withRoleArn(java.lang.String roleArn)
The Amazon Resource Name (ARN) of the role that grants permission to AWS IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
roleArn
- The Amazon Resource Name (ARN) of the role that grants permission to AWS IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
public java.util.Map<java.lang.String,AuditNotificationTarget> getAuditNotificationTargetConfigurations()
Information about the targets to which audit notifications are sent.
Information about the targets to which audit notifications are sent.
public void setAuditNotificationTargetConfigurations(java.util.Map<java.lang.String,AuditNotificationTarget> auditNotificationTargetConfigurations)
Information about the targets to which audit notifications are sent.
auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent.
public UpdateAccountAuditConfigurationRequest withAuditNotificationTargetConfigurations(java.util.Map<java.lang.String,AuditNotificationTarget> auditNotificationTargetConfigurations)
Information about the targets to which audit notifications are sent.
Returns a reference to this object so that method calls can be chained together.
auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent.
public UpdateAccountAuditConfigurationRequest addauditNotificationTargetConfigurationsEntry(java.lang.String key, AuditNotificationTarget value)
Information about the targets to which audit notifications are sent.
The method adds a new key-value pair into auditNotificationTargetConfigurations parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into
auditNotificationTargetConfigurations.value
- The corresponding value of the entry to be added into
auditNotificationTargetConfigurations.public UpdateAccountAuditConfigurationRequest clearauditNotificationTargetConfigurationsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.Map<java.lang.String,AuditCheckConfiguration> getAuditCheckConfigurations()
Specifies which audit checks are enabled and disabled for this account.
Use DescribeAccountAuditConfiguration
to see the list of all
checks, including those that are currently enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to UpdateAccountAuditConfiguration
, this
parameter is required and must specify at least one enabled check.
Specifies which audit checks are enabled and disabled for this
account. Use DescribeAccountAuditConfiguration
to
see the list of all checks, including those that are currently
enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to UpdateAccountAuditConfiguration
, this parameter is required and must specify at least one
enabled check.
public void setAuditCheckConfigurations(java.util.Map<java.lang.String,AuditCheckConfiguration> auditCheckConfigurations)
Specifies which audit checks are enabled and disabled for this account.
Use DescribeAccountAuditConfiguration
to see the list of all
checks, including those that are currently enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to UpdateAccountAuditConfiguration
, this
parameter is required and must specify at least one enabled check.
auditCheckConfigurations
-
Specifies which audit checks are enabled and disabled for this
account. Use DescribeAccountAuditConfiguration
to
see the list of all checks, including those that are currently
enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to
UpdateAccountAuditConfiguration
, this parameter
is required and must specify at least one enabled check.
public UpdateAccountAuditConfigurationRequest withAuditCheckConfigurations(java.util.Map<java.lang.String,AuditCheckConfiguration> auditCheckConfigurations)
Specifies which audit checks are enabled and disabled for this account.
Use DescribeAccountAuditConfiguration
to see the list of all
checks, including those that are currently enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to UpdateAccountAuditConfiguration
, this
parameter is required and must specify at least one enabled check.
Returns a reference to this object so that method calls can be chained together.
auditCheckConfigurations
-
Specifies which audit checks are enabled and disabled for this
account. Use DescribeAccountAuditConfiguration
to
see the list of all checks, including those that are currently
enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to
UpdateAccountAuditConfiguration
, this parameter
is required and must specify at least one enabled check.
public UpdateAccountAuditConfigurationRequest addauditCheckConfigurationsEntry(java.lang.String key, AuditCheckConfiguration value)
Specifies which audit checks are enabled and disabled for this account.
Use DescribeAccountAuditConfiguration
to see the list of all
checks, including those that are currently enabled.
Some data collection might start immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.
You cannot disable a check if it's used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.
On the first call to UpdateAccountAuditConfiguration
, this
parameter is required and must specify at least one enabled check.
The method adds a new key-value pair into auditCheckConfigurations parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into
auditCheckConfigurations.value
- The corresponding value of the entry to be added into
auditCheckConfigurations.public UpdateAccountAuditConfigurationRequest clearauditCheckConfigurationsEntries()
Returns a reference to this object so that method calls can be chained together.
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.