public class UpdateAccountAuditConfigurationRequest extends AmazonWebServiceRequest implements 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(String key,
AuditCheckConfiguration value)
Specifies which audit checks are enabled and disabled for this account.
|
UpdateAccountAuditConfigurationRequest |
addauditNotificationTargetConfigurationsEntry(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(Object obj) |
Map<String,AuditCheckConfiguration> |
getAuditCheckConfigurations()
Specifies which audit checks are enabled and disabled for this account.
|
Map<String,AuditNotificationTarget> |
getAuditNotificationTargetConfigurations()
Information about the targets to which audit notifications are sent.
|
String |
getRoleArn()
The ARN of the role that grants permission to AWS IoT to access
information about your devices, policies, certificates and other items as
necessary when performing an audit.
|
int |
hashCode() |
void |
setAuditCheckConfigurations(Map<String,AuditCheckConfiguration> auditCheckConfigurations)
Specifies which audit checks are enabled and disabled for this account.
|
void |
setAuditNotificationTargetConfigurations(Map<String,AuditNotificationTarget> auditNotificationTargetConfigurations)
Information about the targets to which audit notifications are sent.
|
void |
setRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT to access
information about your devices, policies, certificates and other items as
necessary when performing an audit.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAccountAuditConfigurationRequest |
withAuditCheckConfigurations(Map<String,AuditCheckConfiguration> auditCheckConfigurations)
Specifies which audit checks are enabled and disabled for this account.
|
UpdateAccountAuditConfigurationRequest |
withAuditNotificationTargetConfigurations(Map<String,AuditNotificationTarget> auditNotificationTargetConfigurations)
Information about the targets to which audit notifications are sent.
|
UpdateAccountAuditConfigurationRequest |
withRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT to access
information about your devices, policies, certificates and other items as
necessary when performing an audit.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic UpdateAccountAuditConfigurationRequest()
public String getRoleArn()
The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit.
Constraints:
Length: 20 - 2048
The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit.
public void setRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit.
Constraints:
Length: 20 - 2048
roleArn - The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit.
public UpdateAccountAuditConfigurationRequest withRoleArn(String roleArn)
The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
roleArn - The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit.
public Map<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(Map<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(Map<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(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 Map<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.
Note that some data collection may begin 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 is 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.
Note that some data collection may begin 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 is 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(Map<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.
Note that some data collection may begin 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 is 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.
Note that some data collection may begin 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 is 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(Map<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.
Note that some data collection may begin 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 is 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.
Note that some data collection may begin 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 is 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(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.
Note that some data collection may begin 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 is 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 String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.