@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAccountAuditConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAccountAuditConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAccountAuditConfigurationRequest |
addAuditCheckConfigurationsEntry(String key,
AuditCheckConfiguration value)
Add a single AuditCheckConfigurations entry
|
UpdateAccountAuditConfigurationRequest |
addAuditNotificationTargetConfigurationsEntry(String key,
AuditNotificationTarget value)
Add a single AuditNotificationTargetConfigurations entry
|
UpdateAccountAuditConfigurationRequest |
clearAuditCheckConfigurationsEntries()
Removes all the entries added into AuditCheckConfigurations.
|
UpdateAccountAuditConfigurationRequest |
clearAuditNotificationTargetConfigurationsEntries()
Removes all the entries added into AuditNotificationTargetConfigurations.
|
UpdateAccountAuditConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your
devices, policies, certificates, and other items as required 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 Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your
devices, policies, certificates, and other items as required when performing an audit.
|
String |
toString()
Returns a string representation of this object.
|
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 Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your
devices, policies, certificates, and other items as required when performing an audit.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public UpdateAccountAuditConfigurationRequest()
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
roleArn
- The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your
devices, policies, certificates, and other items as required when performing an audit.public String getRoleArn()
The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
public UpdateAccountAuditConfigurationRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.
roleArn
- The Amazon Resource Name (ARN) of the role that grants permission to IoT to access information about your
devices, policies, certificates, and other items as required when performing an audit.public Map<String,AuditNotificationTarget> getAuditNotificationTargetConfigurations()
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.
auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent.public UpdateAccountAuditConfigurationRequest addAuditNotificationTargetConfigurationsEntry(String key, AuditNotificationTarget value)
public UpdateAccountAuditConfigurationRequest clearAuditNotificationTargetConfigurationsEntries()
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.
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.
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(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.
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(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.
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 addAuditCheckConfigurationsEntry(String key, AuditCheckConfiguration value)
public UpdateAccountAuditConfigurationRequest clearAuditCheckConfigurationsEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateAccountAuditConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()