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.
AuditFrequency
public 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.
AuditFrequency
public 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.
AuditFrequency
public void setFrequency(AuditFrequency frequency)
How often the scheduled audit occurs.
Constraints:
Allowed Values: DAILY, WEEKLY, BIWEEKLY, MONTHLY
frequency
- How often the scheduled audit occurs.
AuditFrequency
public 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.
AuditFrequency
public 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").
DayOfWeek
public 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").
DayOfWeek
public 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").
DayOfWeek
public 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").
DayOfWeek
public 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").
DayOfWeek
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.