Interface UpdateAccountAuditConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateAccountAuditConfigurationRequest.Builder,
,UpdateAccountAuditConfigurationRequest> IotRequest.Builder
,SdkBuilder<UpdateAccountAuditConfigurationRequest.Builder,
,UpdateAccountAuditConfigurationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateAccountAuditConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionauditCheckConfigurations
(Map<String, AuditCheckConfiguration> auditCheckConfigurations) Specifies which audit checks are enabled and disabled for this account.auditNotificationTargetConfigurations
(Map<AuditNotificationType, AuditNotificationTarget> auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.auditNotificationTargetConfigurationsWithStrings
(Map<String, AuditNotificationTarget> auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditNotificationTargetConfigurationsWithStrings
UpdateAccountAuditConfigurationRequest.Builder auditNotificationTargetConfigurationsWithStrings(Map<String, AuditNotificationTarget> auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.
- Parameters:
auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditNotificationTargetConfigurations
UpdateAccountAuditConfigurationRequest.Builder auditNotificationTargetConfigurations(Map<AuditNotificationType, AuditNotificationTarget> auditNotificationTargetConfigurations) Information about the targets to which audit notifications are sent.
- Parameters:
auditNotificationTargetConfigurations
- Information about the targets to which audit notifications are sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
auditCheckConfigurations
UpdateAccountAuditConfigurationRequest.Builder auditCheckConfigurations(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.- Parameters:
auditCheckConfigurations
- Specifies which audit checks are enabled and disabled for this account. UseDescribeAccountAuditConfiguration
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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateAccountAuditConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAccountAuditConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-