Interface CreateScheduledAuditRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateScheduledAuditRequest.Builder,CreateScheduledAuditRequest>
,IotRequest.Builder
,SdkBuilder<CreateScheduledAuditRequest.Builder,CreateScheduledAuditRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateScheduledAuditRequest
public static interface CreateScheduledAuditRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateScheduledAuditRequest.Builder,CreateScheduledAuditRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateScheduledAuditRequest.Builder
dayOfMonth(String dayOfMonth)
The day of the month on which the scheduled audit takes place.CreateScheduledAuditRequest.Builder
dayOfWeek(String dayOfWeek)
The day of the week on which the scheduled audit takes place, eitherSUN
,MON
,TUE
,WED
,THU
,FRI
, orSAT
.CreateScheduledAuditRequest.Builder
dayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit takes place, eitherSUN
,MON
,TUE
,WED
,THU
,FRI
, orSAT
.CreateScheduledAuditRequest.Builder
frequency(String frequency)
How often the scheduled audit takes place, eitherDAILY
,WEEKLY
,BIWEEKLY
orMONTHLY
.CreateScheduledAuditRequest.Builder
frequency(AuditFrequency frequency)
How often the scheduled audit takes place, eitherDAILY
,WEEKLY
,BIWEEKLY
orMONTHLY
.CreateScheduledAuditRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateScheduledAuditRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateScheduledAuditRequest.Builder
scheduledAuditName(String scheduledAuditName)
The name you want to give to the scheduled audit.CreateScheduledAuditRequest.Builder
tags(Collection<Tag> tags)
Metadata that can be used to manage the scheduled audit.CreateScheduledAuditRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Metadata that can be used to manage the scheduled audit.CreateScheduledAuditRequest.Builder
tags(Tag... tags)
Metadata that can be used to manage the scheduled audit.CreateScheduledAuditRequest.Builder
targetCheckNames(String... targetCheckNames)
Which checks are performed during the scheduled audit.CreateScheduledAuditRequest.Builder
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 Detail
-
frequency
CreateScheduledAuditRequest.Builder frequency(String 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:
AuditFrequency
,AuditFrequency
-
frequency
CreateScheduledAuditRequest.Builder frequency(AuditFrequency 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:
AuditFrequency
,AuditFrequency
-
dayOfMonth
CreateScheduledAuditRequest.Builder dayOfMonth(String 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
CreateScheduledAuditRequest.Builder dayOfWeek(String 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
,DayOfWeek
-
dayOfWeek
CreateScheduledAuditRequest.Builder dayOfWeek(DayOfWeek 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
,DayOfWeek
-
targetCheckNames
CreateScheduledAuditRequest.Builder targetCheckNames(Collection<String> 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
CreateScheduledAuditRequest.Builder targetCheckNames(String... 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
CreateScheduledAuditRequest.Builder scheduledAuditName(String 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
CreateScheduledAuditRequest.Builder tags(Collection<Tag> 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
CreateScheduledAuditRequest.Builder tags(Tag... 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
CreateScheduledAuditRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
overrideConfiguration
CreateScheduledAuditRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateScheduledAuditRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-