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,BIWEEKLYorMONTHLY.frequency(AuditFrequency frequency) How often the scheduled audit takes place, eitherDAILY,WEEKLY,BIWEEKLYorMONTHLY.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
frequency
How often the scheduled audit takes place, either
DAILY,WEEKLY,BIWEEKLYorMONTHLY. The start time of each audit is determined by the system.- Parameters:
frequency- How often the scheduled audit takes place, eitherDAILY,WEEKLY,BIWEEKLYorMONTHLY. 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,BIWEEKLYorMONTHLY. The start time of each audit is determined by the system.- Parameters:
frequency- How often the scheduled audit takes place, eitherDAILY,WEEKLY,BIWEEKLYorMONTHLY. 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 theLASTday 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 theLASTday 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 thefrequencyparameter is set toWEEKLYorBIWEEKLY.- 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 thefrequencyparameter is set toWEEKLYorBIWEEKLY.- 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 thefrequencyparameter is set toWEEKLYorBIWEEKLY.- 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 thefrequencyparameter is set toWEEKLYorBIWEEKLY.- 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
DescribeAccountAuditConfigurationto see the list of all checks, including those that are enabled or useUpdateAccountAuditConfigurationto select which checks are enabled.)- Parameters:
targetCheckNames- Which checks are performed during the scheduled audit. Checks must be enabled for your account. (UseDescribeAccountAuditConfigurationto see the list of all checks, including those that are enabled or useUpdateAccountAuditConfigurationto 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
DescribeAccountAuditConfigurationto see the list of all checks, including those that are enabled or useUpdateAccountAuditConfigurationto select which checks are enabled.)- Parameters:
targetCheckNames- Which checks are performed during the scheduled audit. Checks must be enabled for your account. (UseDescribeAccountAuditConfigurationto see the list of all checks, including those that are enabled or useUpdateAccountAuditConfigurationto 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-