Class ScheduledAuditMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.ScheduledAuditMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduledAuditMetadata.Builder,ScheduledAuditMetadata>
@Generated("software.amazon.awssdk:codegen") public final class ScheduledAuditMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduledAuditMetadata.Builder,ScheduledAuditMetadata>
Information about the scheduled audit.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScheduledAuditMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduledAuditMetadata.Builderbuilder()StringdayOfMonth()The day of the month on which the scheduled audit is run (if thefrequencyis "MONTHLY").DayOfWeekdayOfWeek()The day of the week on which the scheduled audit is run (if thefrequencyis "WEEKLY" or "BIWEEKLY").StringdayOfWeekAsString()The day of the week on which the scheduled audit is run (if thefrequencyis "WEEKLY" or "BIWEEKLY").booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AuditFrequencyfrequency()How often the scheduled audit occurs.StringfrequencyAsString()How often the scheduled audit occurs.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringscheduledAuditArn()The ARN of the scheduled audit.StringscheduledAuditName()The name of the scheduled audit.List<SdkField<?>>sdkFields()static Class<? extends ScheduledAuditMetadata.Builder>serializableBuilderClass()ScheduledAuditMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
scheduledAuditName
public final String scheduledAuditName()
The name of the scheduled audit.
- Returns:
- The name of the scheduled audit.
-
scheduledAuditArn
public final String scheduledAuditArn()
The ARN of the scheduled audit.
- Returns:
- The ARN of the scheduled audit.
-
frequency
public final AuditFrequency frequency()
How often the scheduled audit occurs.
If the service returns an enum value that is not available in the current SDK version,
frequencywill returnAuditFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfrequencyAsString().- Returns:
- How often the scheduled audit occurs.
- See Also:
AuditFrequency
-
frequencyAsString
public final String frequencyAsString()
How often the scheduled audit occurs.
If the service returns an enum value that is not available in the current SDK version,
frequencywill returnAuditFrequency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfrequencyAsString().- Returns:
- How often the scheduled audit occurs.
- See Also:
AuditFrequency
-
dayOfMonth
public final String dayOfMonth()
The day of the month on which the scheduled audit is run (if the
frequencyis "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:
- The day of the month on which the scheduled audit is run (if the
frequencyis "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.
-
dayOfWeek
public final DayOfWeek dayOfWeek()
The day of the week on which the scheduled audit is run (if the
frequencyis "WEEKLY" or "BIWEEKLY").If the service returns an enum value that is not available in the current SDK version,
dayOfWeekwill returnDayOfWeek.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdayOfWeekAsString().- Returns:
- The day of the week on which the scheduled audit is run (if the
frequencyis "WEEKLY" or "BIWEEKLY"). - See Also:
DayOfWeek
-
dayOfWeekAsString
public final String dayOfWeekAsString()
The day of the week on which the scheduled audit is run (if the
frequencyis "WEEKLY" or "BIWEEKLY").If the service returns an enum value that is not available in the current SDK version,
dayOfWeekwill returnDayOfWeek.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdayOfWeekAsString().- Returns:
- The day of the week on which the scheduled audit is run (if the
frequencyis "WEEKLY" or "BIWEEKLY"). - See Also:
DayOfWeek
-
toBuilder
public ScheduledAuditMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledAuditMetadata.Builder,ScheduledAuditMetadata>
-
builder
public static ScheduledAuditMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScheduledAuditMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-