public class CreateScheduledAuditRequest extends AmazonWebServiceRequest implements Serializable
Creates a scheduled audit that is run at a specified time interval.
| Constructor and Description |
|---|
CreateScheduledAuditRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDayOfMonth()
The day of the month on which the scheduled audit takes place.
|
String |
getDayOfWeek()
The day of the week on which the scheduled audit takes place.
|
String |
getFrequency()
How often the scheduled audit takes place.
|
String |
getScheduledAuditName()
The name you want to give to the scheduled audit.
|
List<Tag> |
getTags()
Metadata which can be used to manage the scheduled audit.
|
List<String> |
getTargetCheckNames()
Which checks are performed during the scheduled audit.
|
int |
hashCode() |
void |
setDayOfMonth(String dayOfMonth)
The day of the month on which the scheduled audit takes place.
|
void |
setDayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit takes place.
|
void |
setDayOfWeek(String dayOfWeek)
The day of the week on which the scheduled audit takes place.
|
void |
setFrequency(AuditFrequency frequency)
How often the scheduled audit takes place.
|
void |
setFrequency(String frequency)
How often the scheduled audit takes place.
|
void |
setScheduledAuditName(String scheduledAuditName)
The name you want to give to the scheduled audit.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage the scheduled audit.
|
void |
setTargetCheckNames(Collection<String> targetCheckNames)
Which checks are performed during the scheduled audit.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateScheduledAuditRequest |
withDayOfMonth(String dayOfMonth)
The day of the month on which the scheduled audit takes place.
|
CreateScheduledAuditRequest |
withDayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit takes place.
|
CreateScheduledAuditRequest |
withDayOfWeek(String dayOfWeek)
The day of the week on which the scheduled audit takes place.
|
CreateScheduledAuditRequest |
withFrequency(AuditFrequency frequency)
How often the scheduled audit takes place.
|
CreateScheduledAuditRequest |
withFrequency(String frequency)
How often the scheduled audit takes place.
|
CreateScheduledAuditRequest |
withScheduledAuditName(String scheduledAuditName)
The name you want to give to the scheduled audit.
|
CreateScheduledAuditRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage the scheduled audit.
|
CreateScheduledAuditRequest |
withTags(Tag... tags)
Metadata which can be used to manage the scheduled audit.
|
CreateScheduledAuditRequest |
withTargetCheckNames(Collection<String> targetCheckNames)
Which checks are performed during the scheduled audit.
|
CreateScheduledAuditRequest |
withTargetCheckNames(String... targetCheckNames)
Which checks are performed during the scheduled audit.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getFrequency()
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
Constraints:
Allowed Values: DAILY, WEEKLY, BIWEEKLY, MONTHLY
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
AuditFrequencypublic void setFrequency(String frequency)
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
Constraints:
Allowed Values: DAILY, WEEKLY, BIWEEKLY, MONTHLY
frequency - How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
AuditFrequencypublic CreateScheduledAuditRequest withFrequency(String frequency)
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DAILY, WEEKLY, BIWEEKLY, MONTHLY
frequency - How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
AuditFrequencypublic void setFrequency(AuditFrequency frequency)
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
Constraints:
Allowed Values: DAILY, WEEKLY, BIWEEKLY, MONTHLY
frequency - How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
AuditFrequencypublic CreateScheduledAuditRequest withFrequency(AuditFrequency frequency)
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DAILY, WEEKLY, BIWEEKLY, MONTHLY
frequency - How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.
AuditFrequencypublic String getDayOfMonth()
The day of the month on which the scheduled audit takes place. Can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to "MONTHLY". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
Constraints:
Pattern: ^([1-9]|[12][0-9]|3[01])$|^LAST$
The day of the month on which the scheduled audit takes place. Can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to "MONTHLY". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
public void setDayOfMonth(String dayOfMonth)
The day of the month on which the scheduled audit takes place. Can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to "MONTHLY". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
Constraints:
Pattern: ^([1-9]|[12][0-9]|3[01])$|^LAST$
dayOfMonth - The day of the month on which the scheduled audit takes place. Can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to "MONTHLY". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
public CreateScheduledAuditRequest withDayOfMonth(String dayOfMonth)
The day of the month on which the scheduled audit takes place. Can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to "MONTHLY". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^([1-9]|[12][0-9]|3[01])$|^LAST$
dayOfMonth - The day of the month on which the scheduled audit takes place. Can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to "MONTHLY". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.
public String getDayOfWeek()
The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
Constraints:
Allowed Values: SUN, MON, TUE, WED, THU, FRI, SAT
The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
DayOfWeekpublic void setDayOfWeek(String dayOfWeek)
The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
Constraints:
Allowed Values: SUN, MON, TUE, WED, THU, FRI, SAT
dayOfWeek - The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
DayOfWeekpublic CreateScheduledAuditRequest withDayOfWeek(String dayOfWeek)
The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUN, MON, TUE, WED, THU, FRI, SAT
dayOfWeek - The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
DayOfWeekpublic void setDayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
Constraints:
Allowed Values: SUN, MON, TUE, WED, THU, FRI, SAT
dayOfWeek - The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
DayOfWeekpublic CreateScheduledAuditRequest withDayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUN, MON, TUE, WED, THU, FRI, SAT
dayOfWeek - The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".
DayOfWeekpublic List<String> getTargetCheckNames()
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
UpdateAccountAuditConfiguration to select which checks are
enabled.)
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
UpdateAccountAuditConfiguration to select which
checks are enabled.)
public void setTargetCheckNames(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
UpdateAccountAuditConfiguration to select which checks are
enabled.)
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
UpdateAccountAuditConfiguration to select which
checks are enabled.)
public CreateScheduledAuditRequest withTargetCheckNames(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
UpdateAccountAuditConfiguration to select which checks are
enabled.)
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
UpdateAccountAuditConfiguration to select which
checks are enabled.)
public CreateScheduledAuditRequest withTargetCheckNames(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
UpdateAccountAuditConfiguration to select which checks are
enabled.)
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
UpdateAccountAuditConfiguration to select which
checks are enabled.)
public List<Tag> getTags()
Metadata which can be used to manage the scheduled audit.
Metadata which can be used to manage the scheduled audit.
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage the scheduled audit.
tags - Metadata which can be used to manage the scheduled audit.
public CreateScheduledAuditRequest withTags(Tag... tags)
Metadata which can be used to manage the scheduled audit.
Returns a reference to this object so that method calls can be chained together.
tags - Metadata which can be used to manage the scheduled audit.
public CreateScheduledAuditRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage the scheduled audit.
Returns a reference to this object so that method calls can be chained together.
tags - Metadata which can be used to manage the scheduled audit.
public String getScheduledAuditName()
The name you want to give to the scheduled audit. (Max. 128 chars)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The name you want to give to the scheduled audit. (Max. 128 chars)
public void setScheduledAuditName(String scheduledAuditName)
The name you want to give to the scheduled audit. (Max. 128 chars)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
scheduledAuditName - The name you want to give to the scheduled audit. (Max. 128 chars)
public CreateScheduledAuditRequest withScheduledAuditName(String scheduledAuditName)
The name you want to give to the scheduled audit. (Max. 128 chars)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
scheduledAuditName - The name you want to give to the scheduled audit. (Max. 128 chars)
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.