public class UpdateScheduledAuditRequest extends AmazonWebServiceRequest implements Serializable
Updates a scheduled audit, including what checks are performed and how often the audit takes place.
Constructor and Description |
---|
UpdateScheduledAuditRequest() |
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 of 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 of 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.
|
UpdateScheduledAuditRequest |
withDayOfMonth(String dayOfMonth)
The day of the month on which the scheduled audit takes place.
|
UpdateScheduledAuditRequest |
withDayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit takes place.
|
UpdateScheduledAuditRequest |
withDayOfWeek(String dayOfWeek)
The day of the week on which the scheduled audit takes place.
|
UpdateScheduledAuditRequest |
withFrequency(AuditFrequency frequency)
How often the scheduled audit takes place.
|
UpdateScheduledAuditRequest |
withFrequency(String frequency)
How often the scheduled audit takes place.
|
UpdateScheduledAuditRequest |
withScheduledAuditName(String scheduledAuditName)
The name of the scheduled audit.
|
UpdateScheduledAuditRequest |
withTargetCheckNames(Collection<String> targetCheckNames)
Which checks are performed during the scheduled audit.
|
UpdateScheduledAuditRequest |
withTargetCheckNames(String... targetCheckNames)
Which checks are performed during the scheduled audit.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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.
AuditFrequency
public 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.
AuditFrequency
public UpdateScheduledAuditRequest 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.
AuditFrequency
public 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.
AuditFrequency
public UpdateScheduledAuditRequest 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.
AuditFrequency
public 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 UpdateScheduledAuditRequest 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".
DayOfWeek
public 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".
DayOfWeek
public UpdateScheduledAuditRequest 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".
DayOfWeek
public 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".
DayOfWeek
public UpdateScheduledAuditRequest 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".
DayOfWeek
public 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 UpdateScheduledAuditRequest 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 UpdateScheduledAuditRequest 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 String getScheduledAuditName()
The name of the scheduled audit. (Max. 128 chars)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The name of the scheduled audit. (Max. 128 chars)
public void setScheduledAuditName(String scheduledAuditName)
The name of the scheduled audit. (Max. 128 chars)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
scheduledAuditName
- The name of the scheduled audit. (Max. 128 chars)
public UpdateScheduledAuditRequest withScheduledAuditName(String scheduledAuditName)
The name of 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 of the scheduled audit. (Max. 128 chars)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.