public class ScheduledAuditMetadata
extends java.lang.Object
implements java.io.Serializable
Information about the scheduled audit.
| Constructor and Description |
|---|
ScheduledAuditMetadata() |
| 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 is run (if the
frequency is "MONTHLY"). |
java.lang.String |
getDayOfWeek()
The day of the week on which the scheduled audit is run (if the
frequency is "WEEKLY" or "BIWEEKLY"). |
java.lang.String |
getFrequency()
How often the scheduled audit occurs.
|
java.lang.String |
getScheduledAuditArn()
The ARN of the scheduled audit.
|
java.lang.String |
getScheduledAuditName()
The name of the scheduled audit.
|
int |
hashCode() |
void |
setDayOfMonth(java.lang.String dayOfMonth)
The day of the month on which the scheduled audit is run (if the
frequency is "MONTHLY"). |
void |
setDayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit is run (if the
frequency is "WEEKLY" or "BIWEEKLY"). |
void |
setDayOfWeek(java.lang.String dayOfWeek)
The day of the week on which the scheduled audit is run (if the
frequency is "WEEKLY" or "BIWEEKLY"). |
void |
setFrequency(AuditFrequency frequency)
How often the scheduled audit occurs.
|
void |
setFrequency(java.lang.String frequency)
How often the scheduled audit occurs.
|
void |
setScheduledAuditArn(java.lang.String scheduledAuditArn)
The ARN of the scheduled audit.
|
void |
setScheduledAuditName(java.lang.String scheduledAuditName)
The name of the scheduled audit.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScheduledAuditMetadata |
withDayOfMonth(java.lang.String dayOfMonth)
The day of the month on which the scheduled audit is run (if the
frequency is "MONTHLY"). |
ScheduledAuditMetadata |
withDayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit is run (if the
frequency is "WEEKLY" or "BIWEEKLY"). |
ScheduledAuditMetadata |
withDayOfWeek(java.lang.String dayOfWeek)
The day of the week on which the scheduled audit is run (if the
frequency is "WEEKLY" or "BIWEEKLY"). |
ScheduledAuditMetadata |
withFrequency(AuditFrequency frequency)
How often the scheduled audit occurs.
|
ScheduledAuditMetadata |
withFrequency(java.lang.String frequency)
How often the scheduled audit occurs.
|
ScheduledAuditMetadata |
withScheduledAuditArn(java.lang.String scheduledAuditArn)
The ARN of the scheduled audit.
|
ScheduledAuditMetadata |
withScheduledAuditName(java.lang.String scheduledAuditName)
The name of the scheduled audit.
|
public java.lang.String getScheduledAuditName()
The name of the scheduled audit.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The name of the scheduled audit.
public void setScheduledAuditName(java.lang.String scheduledAuditName)
The name of the scheduled audit.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
scheduledAuditName - The name of the scheduled audit.
public ScheduledAuditMetadata withScheduledAuditName(java.lang.String scheduledAuditName)
The name of the scheduled audit.
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.
public java.lang.String getScheduledAuditArn()
The ARN of the scheduled audit.
The ARN of the scheduled audit.
public void setScheduledAuditArn(java.lang.String scheduledAuditArn)
The ARN of the scheduled audit.
scheduledAuditArn - The ARN of the scheduled audit.
public ScheduledAuditMetadata withScheduledAuditArn(java.lang.String scheduledAuditArn)
The ARN of the scheduled audit.
Returns a reference to this object so that method calls can be chained together.
scheduledAuditArn - The ARN of the scheduled audit.
public java.lang.String getFrequency()
How often the scheduled audit occurs.
Constraints:
Allowed Values: DAILY, WEEKLY, BIWEEKLY, MONTHLY
How often the scheduled audit occurs.
AuditFrequencypublic void setFrequency(java.lang.String frequency)
How often the scheduled audit occurs.
Constraints:
Allowed Values: DAILY, WEEKLY, BIWEEKLY, MONTHLY
frequency - How often the scheduled audit occurs.
AuditFrequencypublic ScheduledAuditMetadata withFrequency(java.lang.String frequency)
How often the scheduled audit occurs.
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 occurs.
AuditFrequencypublic void setFrequency(AuditFrequency frequency)
How often the scheduled audit occurs.
Constraints:
Allowed Values: DAILY, WEEKLY, BIWEEKLY, MONTHLY
frequency - How often the scheduled audit occurs.
AuditFrequencypublic ScheduledAuditMetadata withFrequency(AuditFrequency frequency)
How often the scheduled audit occurs.
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 occurs.
AuditFrequencypublic java.lang.String getDayOfMonth()
The day of the month on which the scheduled audit is run (if the
frequency is "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 is run (if the
frequency is "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 is run (if the
frequency is "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 is run (if
the frequency is "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 ScheduledAuditMetadata withDayOfMonth(java.lang.String dayOfMonth)
The day of the month on which the scheduled audit is run (if the
frequency is "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 is run (if
the frequency is "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 is run (if the
frequency is "WEEKLY" or "BIWEEKLY").
Constraints:
Allowed Values: SUN, MON, TUE, WED, THU, FRI, SAT
The day of the week on which the scheduled audit is run (if the
frequency is "WEEKLY" or "BIWEEKLY").
DayOfWeekpublic void setDayOfWeek(java.lang.String dayOfWeek)
The day of the week on which the scheduled audit is run (if the
frequency is "WEEKLY" or "BIWEEKLY").
Constraints:
Allowed Values: SUN, MON, TUE, WED, THU, FRI, SAT
dayOfWeek -
The day of the week on which the scheduled audit is run (if
the frequency is "WEEKLY" or "BIWEEKLY").
DayOfWeekpublic ScheduledAuditMetadata withDayOfWeek(java.lang.String dayOfWeek)
The day of the week on which the scheduled audit is run (if the
frequency is "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 is run (if
the frequency is "WEEKLY" or "BIWEEKLY").
DayOfWeekpublic void setDayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit is run (if the
frequency is "WEEKLY" or "BIWEEKLY").
Constraints:
Allowed Values: SUN, MON, TUE, WED, THU, FRI, SAT
dayOfWeek -
The day of the week on which the scheduled audit is run (if
the frequency is "WEEKLY" or "BIWEEKLY").
DayOfWeekpublic ScheduledAuditMetadata withDayOfWeek(DayOfWeek dayOfWeek)
The day of the week on which the scheduled audit is run (if the
frequency is "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 is run (if
the frequency is "WEEKLY" or "BIWEEKLY").
DayOfWeekpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.