Class RefreshScheduleFrequency
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.RefreshScheduleFrequency
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RefreshScheduleFrequency.Builder,RefreshScheduleFrequency>
@Generated("software.amazon.awssdk:codegen") public final class RefreshScheduleFrequency extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RefreshScheduleFrequency.Builder,RefreshScheduleFrequency>
Specifies the frequency for a dashboard refresh schedule.
For a custom dashboard, you can schedule a refresh for every 1, 6, 12, or 24 hours, or every day.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRefreshScheduleFrequency.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RefreshScheduleFrequency.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RefreshScheduleFrequency.Builder>serializableBuilderClass()RefreshScheduleFrequency.BuildertoBuilder()StringtoString()Returns a string representation of this object.RefreshScheduleFrequencyUnitunit()The unit to use for the refresh.StringunitAsString()The unit to use for the refresh.Integervalue()The value for the refresh schedule.-
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
-
unit
public final RefreshScheduleFrequencyUnit unit()
The unit to use for the refresh.
For custom dashboards, the unit can be
HOURSorDAYS.For the Highlights dashboard, the
Unitmust beHOURS.If the service returns an enum value that is not available in the current SDK version,
unitwill returnRefreshScheduleFrequencyUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunitAsString().- Returns:
- The unit to use for the refresh.
For custom dashboards, the unit can be
HOURSorDAYS.For the Highlights dashboard, the
Unitmust beHOURS. - See Also:
RefreshScheduleFrequencyUnit
-
unitAsString
public final String unitAsString()
The unit to use for the refresh.
For custom dashboards, the unit can be
HOURSorDAYS.For the Highlights dashboard, the
Unitmust beHOURS.If the service returns an enum value that is not available in the current SDK version,
unitwill returnRefreshScheduleFrequencyUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromunitAsString().- Returns:
- The unit to use for the refresh.
For custom dashboards, the unit can be
HOURSorDAYS.For the Highlights dashboard, the
Unitmust beHOURS. - See Also:
RefreshScheduleFrequencyUnit
-
value
public final Integer value()
The value for the refresh schedule.
For custom dashboards, the following values are valid when the unit is
HOURS:1,6,12,24For custom dashboards, the only valid value when the unit is
DAYSis1.For the Highlights dashboard, the
Valuemust be6.- Returns:
- The value for the refresh schedule.
For custom dashboards, the following values are valid when the unit is
HOURS:1,6,12,24For custom dashboards, the only valid value when the unit is
DAYSis1.For the Highlights dashboard, the
Valuemust be6.
-
toBuilder
public RefreshScheduleFrequency.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RefreshScheduleFrequency.Builder,RefreshScheduleFrequency>
-
builder
public static RefreshScheduleFrequency.Builder builder()
-
serializableBuilderClass
public static Class<? extends RefreshScheduleFrequency.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
-
-