@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateScheduledAuditRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateScheduledAuditRequest() |
Modifier and Type | Method and Description |
---|---|
CreateScheduledAuditRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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, either
SUN , MON ,
TUE , WED , THU , FRI , or SAT . |
String |
getFrequency()
How often the scheduled audit takes place, either
DAILY , WEEKLY , BIWEEKLY
or MONTHLY . |
String |
getScheduledAuditName()
The name you want to give to the scheduled audit.
|
List<Tag> |
getTags()
Metadata that 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(String dayOfWeek)
The day of the week on which the scheduled audit takes place, either
SUN , MON ,
TUE , WED , THU , FRI , or SAT . |
void |
setFrequency(String frequency)
How often the scheduled audit takes place, either
DAILY , WEEKLY , BIWEEKLY
or MONTHLY . |
void |
setScheduledAuditName(String scheduledAuditName)
The name you want to give to the scheduled audit.
|
void |
setTags(Collection<Tag> tags)
Metadata that 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.
|
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, either
SUN , MON ,
TUE , WED , THU , FRI , or SAT . |
CreateScheduledAuditRequest |
withDayOfWeek(String dayOfWeek)
The day of the week on which the scheduled audit takes place, either
SUN , MON ,
TUE , WED , THU , FRI , or SAT . |
CreateScheduledAuditRequest |
withFrequency(AuditFrequency frequency)
How often the scheduled audit takes place, either
DAILY , WEEKLY , BIWEEKLY
or MONTHLY . |
CreateScheduledAuditRequest |
withFrequency(String frequency)
How often the scheduled audit takes place, either
DAILY , WEEKLY , BIWEEKLY
or MONTHLY . |
CreateScheduledAuditRequest |
withScheduledAuditName(String scheduledAuditName)
The name you want to give to the scheduled audit.
|
CreateScheduledAuditRequest |
withTags(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(Collection<String> targetCheckNames)
Which checks are performed during the scheduled audit.
|
CreateScheduledAuditRequest |
withTargetCheckNames(String... targetCheckNames)
Which checks are performed during the scheduled audit.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFrequency(String frequency)
How often the scheduled audit takes place, either DAILY
, WEEKLY
, BIWEEKLY
or MONTHLY
. The start time of each audit is determined by the system.
frequency
- How often the scheduled audit takes place, either DAILY
, WEEKLY
,
BIWEEKLY
or MONTHLY
. The start time of each audit is determined by the system.AuditFrequency
public String getFrequency()
How often the scheduled audit takes place, either DAILY
, WEEKLY
, BIWEEKLY
or MONTHLY
. The start time of each audit is determined by the system.
DAILY
, WEEKLY
,
BIWEEKLY
or MONTHLY
. The start time of each audit is determined by the system.AuditFrequency
public CreateScheduledAuditRequest withFrequency(String frequency)
How often the scheduled audit takes place, either DAILY
, WEEKLY
, BIWEEKLY
or MONTHLY
. The start time of each audit is determined by the system.
frequency
- How often the scheduled audit takes place, either 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, either DAILY
, WEEKLY
, BIWEEKLY
or MONTHLY
. The start time of each audit is determined by the system.
frequency
- How often the scheduled audit takes place, either DAILY
, WEEKLY
,
BIWEEKLY
or MONTHLY
. The start time of each audit is determined by the system.AuditFrequency
public void setDayOfMonth(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 the LAST
day of the month.
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 the LAST
day
of the month.public String getDayOfMonth()
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 the LAST
day of the month.
MONTHLY
. If days 29 to 31 are
specified, and the month doesn't 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. 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 the LAST
day of the month.
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 the LAST
day
of the month.public void setDayOfWeek(String dayOfWeek)
The day of the week on which the scheduled audit takes place, either SUN
, MON
,
TUE
, WED
, THU
, FRI
, or SAT
. This field is
required if the frequency
parameter is set to WEEKLY
or BIWEEKLY
.
dayOfWeek
- The day of the week on which the scheduled audit takes place, either SUN
, MON
,
TUE
, WED
, THU
, FRI
, or SAT
. This field is
required if the frequency
parameter is set to WEEKLY
or BIWEEKLY
.DayOfWeek
public String getDayOfWeek()
The day of the week on which the scheduled audit takes place, either SUN
, MON
,
TUE
, WED
, THU
, FRI
, or SAT
. This field is
required if the frequency
parameter is set to WEEKLY
or BIWEEKLY
.
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(String dayOfWeek)
The day of the week on which the scheduled audit takes place, either SUN
, MON
,
TUE
, WED
, THU
, FRI
, or SAT
. This field is
required if the frequency
parameter is set to WEEKLY
or BIWEEKLY
.
dayOfWeek
- The day of the week on which the scheduled audit takes place, either 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, either SUN
, MON
,
TUE
, WED
, THU
, FRI
, or SAT
. This field is
required if the frequency
parameter is set to WEEKLY
or BIWEEKLY
.
dayOfWeek
- The day of the week on which the scheduled audit takes place, either 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
use UpdateAccountAuditConfiguration
to select which checks are enabled.)
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(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
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(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.)
NOTE: This method appends the values to the existing list (if any). Use
setTargetCheckNames(java.util.Collection)
or withTargetCheckNames(java.util.Collection)
if you
want to override the existing values.
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(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
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 void setScheduledAuditName(String scheduledAuditName)
The name you want to give to the scheduled audit. (Max. 128 chars)
scheduledAuditName
- The name you want to give to the scheduled audit. (Max. 128 chars)public String getScheduledAuditName()
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)
scheduledAuditName
- The name you want to give to the scheduled audit. (Max. 128 chars)public List<Tag> getTags()
Metadata that can be used to manage the scheduled audit.
public void setTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata that can be used to manage the scheduled audit.public CreateScheduledAuditRequest withTags(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 String toString()
toString
in class Object
Object.toString()
public CreateScheduledAuditRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()