public class CreateScheduledAuditRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getDayOfMonth()
The day of the month on which the scheduled audit takes place.
|
java.lang.String |
getDayOfWeek()
The day of the week on which the scheduled audit takes place.
|
java.lang.String |
getFrequency()
How often the scheduled audit takes place.
|
java.lang.String |
getScheduledAuditName()
The name you want to give to the scheduled audit.
|
java.util.List<Tag> |
getTags()
Metadata that can be used to manage the scheduled audit.
|
java.util.List<java.lang.String> |
getTargetCheckNames()
Which checks are performed during the scheduled audit.
|
int |
hashCode() |
void |
setDayOfMonth(java.lang.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(java.lang.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(java.lang.String frequency)
How often the scheduled audit takes place.
|
void |
setScheduledAuditName(java.lang.String scheduledAuditName)
The name you want to give to the scheduled audit.
|
void |
setTags(java.util.Collection<Tag> tags)
Metadata that can be used to manage the scheduled audit.
|
void |
setTargetCheckNames(java.util.Collection<java.lang.String> targetCheckNames)
Which checks are performed during the scheduled audit.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateScheduledAuditRequest |
withDayOfMonth(java.lang.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(java.lang.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(java.lang.String frequency)
How often the scheduled audit takes place.
|
CreateScheduledAuditRequest |
withScheduledAuditName(java.lang.String scheduledAuditName)
The name you want to give to the scheduled audit.
|
CreateScheduledAuditRequest |
withTags(java.util.Collection<Tag> tags)
Metadata that can be used to manage the scheduled audit.
|
CreateScheduledAuditRequest |
withTags(Tag... tags)
Metadata that can be used to manage the scheduled audit.
|
CreateScheduledAuditRequest |
withTargetCheckNames(java.util.Collection<java.lang.String> targetCheckNames)
Which checks are performed during the scheduled audit.
|
CreateScheduledAuditRequest |
withTargetCheckNames(java.lang.String... targetCheckNames)
Which checks are performed during the scheduled audit.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getFrequency()
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The 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 start time of each audit is determined by the system.
AuditFrequency
public void setFrequency(java.lang.String frequency)
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The 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 start time of each audit is determined by the system.
AuditFrequency
public CreateScheduledAuditRequest withFrequency(java.lang.String frequency)
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The 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 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 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 start time of each audit is determined by the system.
AuditFrequency
public CreateScheduledAuditRequest withFrequency(AuditFrequency frequency)
How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The 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 start time of each audit is determined by the system.
AuditFrequency
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 CreateScheduledAuditRequest withDayOfWeek(java.lang.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 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".
DayOfWeek
public java.util.List<java.lang.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 use
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 use
UpdateAccountAuditConfiguration
to select which
checks are enabled.)
public void setTargetCheckNames(java.util.Collection<java.lang.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 use
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 use
UpdateAccountAuditConfiguration
to select which
checks are enabled.)
public CreateScheduledAuditRequest withTargetCheckNames(java.lang.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 use
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 use
UpdateAccountAuditConfiguration
to select which
checks are enabled.)
public CreateScheduledAuditRequest withTargetCheckNames(java.util.Collection<java.lang.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 use
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 use
UpdateAccountAuditConfiguration
to select which
checks are enabled.)
public java.lang.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(java.lang.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(java.lang.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 java.util.List<Tag> getTags()
Metadata that can be used to manage the scheduled audit.
Metadata that can be used to manage the scheduled audit.
public void setTags(java.util.Collection<Tag> tags)
Metadata that can be used to manage the scheduled audit.
tags
- Metadata that can be used to manage the scheduled audit.
public CreateScheduledAuditRequest withTags(Tag... tags)
Metadata that can be used to manage the scheduled audit.
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.
public CreateScheduledAuditRequest withTags(java.util.Collection<Tag> tags)
Metadata that can be used to manage the scheduled audit.
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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.