Class RefreshSchedule
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.RefreshSchedule
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RefreshSchedule.Builder,RefreshSchedule>
@Generated("software.amazon.awssdk:codegen") public final class RefreshSchedule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RefreshSchedule.Builder,RefreshSchedule>
The schedule for a dashboard refresh.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRefreshSchedule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RefreshSchedule.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)RefreshScheduleFrequencyfrequency()The frequency at which you want the dashboard refreshed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RefreshSchedule.Builder>serializableBuilderClass()RefreshScheduleStatusstatus()Specifies whether the refresh schedule is enabled.StringstatusAsString()Specifies whether the refresh schedule is enabled.StringtimeOfDay()The time of day in UTC to run the schedule; for hourly only refer to minutes; default is 00:00.RefreshSchedule.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
-
frequency
public final RefreshScheduleFrequency frequency()
The frequency at which you want the dashboard refreshed.
- Returns:
- The frequency at which you want the dashboard refreshed.
-
status
public final RefreshScheduleStatus status()
Specifies whether the refresh schedule is enabled. Set the value to
ENABLEDto enable the refresh schedule, or toDISABLEDto turn off the refresh schedule.If the service returns an enum value that is not available in the current SDK version,
statuswill returnRefreshScheduleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies whether the refresh schedule is enabled. Set the value to
ENABLEDto enable the refresh schedule, or toDISABLEDto turn off the refresh schedule. - See Also:
RefreshScheduleStatus
-
statusAsString
public final String statusAsString()
Specifies whether the refresh schedule is enabled. Set the value to
ENABLEDto enable the refresh schedule, or toDISABLEDto turn off the refresh schedule.If the service returns an enum value that is not available in the current SDK version,
statuswill returnRefreshScheduleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies whether the refresh schedule is enabled. Set the value to
ENABLEDto enable the refresh schedule, or toDISABLEDto turn off the refresh schedule. - See Also:
RefreshScheduleStatus
-
timeOfDay
public final String timeOfDay()
The time of day in UTC to run the schedule; for hourly only refer to minutes; default is 00:00.
- Returns:
- The time of day in UTC to run the schedule; for hourly only refer to minutes; default is 00:00.
-
toBuilder
public RefreshSchedule.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RefreshSchedule.Builder,RefreshSchedule>
-
builder
public static RefreshSchedule.Builder builder()
-
serializableBuilderClass
public static Class<? extends RefreshSchedule.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-