/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.iot.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateAccountAuditConfigurationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* 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. *
*/ private String roleArn; /** ** Information about the targets to which audit notifications are sent. *
*/ private java.util.Map
* 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 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. *
* * @param 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 void setRoleArn(String roleArn) { this.roleArn = 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. *
* * @return 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() { return this.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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateAccountAuditConfigurationRequest withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** Information about the targets to which audit notifications are sent. *
* * @return Information about the targets to which audit notifications are sent. */ public java.util.Map* Information about the targets to which audit notifications are sent. *
* * @param auditNotificationTargetConfigurations * Information about the targets to which audit notifications are sent. */ public void setAuditNotificationTargetConfigurations(java.util.Map* Information about the targets to which audit notifications are sent. *
* * @param auditNotificationTargetConfigurations * Information about the targets to which audit notifications are sent. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateAccountAuditConfigurationRequest withAuditNotificationTargetConfigurations( java.util.Map
* 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
* Specifies which audit checks are enabled and disabled for this account. Use
*
* 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 java.util.MapDescribeAccountAuditConfiguration
to see the list of all checks, including those that are currently
* enabled.
* 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
* Specifies which audit checks are enabled and disabled for this account. Use
*
* 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.MapDescribeAccountAuditConfiguration
to see the list of all checks, including those that are currently
* enabled.
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public UpdateAccountAuditConfigurationRequest withAuditCheckConfigurations(java.util.Map