public class UpdateScheduledAuditRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
Constructor and Description |
---|
UpdateScheduledAuditRequest() |
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, either
DAILY ,
WEEKLY , BIWEEKLY , or MONTHLY . |
java.lang.String |
getScheduledAuditName()
The name of 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, either
DAILY ,
WEEKLY , BIWEEKLY , or MONTHLY . |
void |
setFrequency(java.lang.String frequency)
How often the scheduled audit takes place, either
DAILY ,
WEEKLY , BIWEEKLY , or MONTHLY . |
void |
setScheduledAuditName(java.lang.String scheduledAuditName)
The name of 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.
|
UpdateScheduledAuditRequest |
withDayOfMonth(java.lang.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(java.lang.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, either
DAILY ,
WEEKLY , BIWEEKLY , or MONTHLY . |
UpdateScheduledAuditRequest |
withFrequency(java.lang.String frequency)
How often the scheduled audit takes place, either
DAILY ,
WEEKLY , BIWEEKLY , or MONTHLY . |
UpdateScheduledAuditRequest |
withScheduledAuditName(java.lang.String scheduledAuditName)
The name of the scheduled audit.
|
UpdateScheduledAuditRequest |
withTargetCheckNames(java.util.Collection<java.lang.String> targetCheckNames)
Which checks are performed during the scheduled audit.
|
UpdateScheduledAuditRequest |
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, either 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, either
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, either 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, either
DAILY
, WEEKLY
, BIWEEKLY
, or MONTHLY
. The start time of each audit is
determined by the system.
AuditFrequency
public UpdateScheduledAuditRequest withFrequency(java.lang.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.
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, either
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, either 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, either
DAILY
, WEEKLY
, BIWEEKLY
, or MONTHLY
. The start time of each audit is
determined by the system.
AuditFrequency
public UpdateScheduledAuditRequest 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.
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, either
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. This 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.
This 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. This 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.
This 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(java.lang.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-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.
This 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. This 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.
This 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. This 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.
This 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(java.lang.String dayOfWeek)
The day of the week on which the scheduled audit takes place. This 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.
This 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. This 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.
This 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. This 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.
This 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 UpdateScheduledAuditRequest 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 UpdateScheduledAuditRequest 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 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(java.lang.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(java.lang.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 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.