Interface CreateScheduledAuditRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateScheduledAuditRequest.Builder,
,CreateScheduledAuditRequest> IotRequest.Builder
,SdkBuilder<CreateScheduledAuditRequest.Builder,
,CreateScheduledAuditRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateScheduledAuditRequest
-
Method Summary
Modifier and TypeMethodDescriptiondayOfMonth
(String dayOfMonth) The day of the month on which the scheduled audit takes place.The day of the week on which the scheduled audit takes place, eitherSUN
,MON
,TUE
,WED
,THU
,FRI
, orSAT
.The day of the week on which the scheduled audit takes place, eitherSUN
,MON
,TUE
,WED
,THU
,FRI
, orSAT
.How often the scheduled audit takes place, eitherDAILY
,WEEKLY
,BIWEEKLY
orMONTHLY
.frequency
(AuditFrequency frequency) How often the scheduled audit takes place, eitherDAILY
,WEEKLY
,BIWEEKLY
orMONTHLY
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scheduledAuditName
(String scheduledAuditName) The name you want to give to the scheduled audit.tags
(Collection<Tag> tags) Metadata that can be used to manage the scheduled audit.tags
(Consumer<Tag.Builder>... tags) Metadata that can be used to manage the scheduled audit.Metadata that can be used to manage the scheduled audit.targetCheckNames
(String... targetCheckNames) Which checks are performed during the scheduled audit.targetCheckNames
(Collection<String> targetCheckNames) Which checks are performed during the scheduled 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
-
frequency
How often the scheduled audit takes place, either
DAILY
,WEEKLY
,BIWEEKLY
orMONTHLY
. The start time of each audit is determined by the system.- Parameters:
frequency
- How often the scheduled audit takes place, eitherDAILY
,WEEKLY
,BIWEEKLY
orMONTHLY
. The start time of each audit is determined by the system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
frequency
How often the scheduled audit takes place, either
DAILY
,WEEKLY
,BIWEEKLY
orMONTHLY
. The start time of each audit is determined by the system.- Parameters:
frequency
- How often the scheduled audit takes place, eitherDAILY
,WEEKLY
,BIWEEKLY
orMONTHLY
. The start time of each audit is determined by the system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dayOfMonth
The day of the month on which the scheduled audit takes place. This can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to
MONTHLY
. If days 29 to 31 are specified, and the month doesn't have that many days, the audit takes place on theLAST
day of the month.- Parameters:
dayOfMonth
- The day of the month on which the scheduled audit takes place. This can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set toMONTHLY
. If days 29 to 31 are specified, and the month doesn't have that many days, the audit takes place on theLAST
day of the month.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dayOfWeek
The day of the week on which the scheduled audit takes place, either
SUN
,MON
,TUE
,WED
,THU
,FRI
, orSAT
. This field is required if thefrequency
parameter is set toWEEKLY
orBIWEEKLY
.- Parameters:
dayOfWeek
- The day of the week on which the scheduled audit takes place, eitherSUN
,MON
,TUE
,WED
,THU
,FRI
, orSAT
. This field is required if thefrequency
parameter is set toWEEKLY
orBIWEEKLY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dayOfWeek
The day of the week on which the scheduled audit takes place, either
SUN
,MON
,TUE
,WED
,THU
,FRI
, orSAT
. This field is required if thefrequency
parameter is set toWEEKLY
orBIWEEKLY
.- Parameters:
dayOfWeek
- The day of the week on which the scheduled audit takes place, eitherSUN
,MON
,TUE
,WED
,THU
,FRI
, orSAT
. This field is required if thefrequency
parameter is set toWEEKLY
orBIWEEKLY
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetCheckNames
Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use
DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or useUpdateAccountAuditConfiguration
to select which checks are enabled.)- Parameters:
targetCheckNames
- Which checks are performed during the scheduled audit. Checks must be enabled for your account. (UseDescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or useUpdateAccountAuditConfiguration
to select which checks are enabled.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetCheckNames
Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use
DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or useUpdateAccountAuditConfiguration
to select which checks are enabled.)- Parameters:
targetCheckNames
- Which checks are performed during the scheduled audit. Checks must be enabled for your account. (UseDescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or useUpdateAccountAuditConfiguration
to select which checks are enabled.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledAuditName
The name you want to give to the scheduled audit. (Max. 128 chars)
- Parameters:
scheduledAuditName
- The name you want to give to the scheduled audit. (Max. 128 chars)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the scheduled audit.
- Parameters:
tags
- Metadata that can be used to manage the scheduled audit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the scheduled audit.
- Parameters:
tags
- Metadata that can be used to manage the scheduled audit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata that can be used to manage the scheduled audit.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateScheduledAuditRequest.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
CreateScheduledAuditRequest.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.
-