Class RefreshScheduleIntervalDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.generativeai.model.RefreshScheduleDetails
-
- com.oracle.bmc.generativeai.model.RefreshScheduleIntervalDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20231130") public final class RefreshScheduleIntervalDetails extends RefreshScheduleDetailsDefines the refresh schedule by specifying the interval between each refresh.
Note: Objects should always be created or deserialized using theRefreshScheduleIntervalDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theRefreshScheduleIntervalDetails.Builder, which maintain a set of all explicitly set fields calledRefreshScheduleIntervalDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRefreshScheduleIntervalDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.generativeai.model.RefreshScheduleDetails
RefreshScheduleDetails.Type
-
-
Constructor Summary
Constructors Constructor Description RefreshScheduleIntervalDetails(String value)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RefreshScheduleIntervalDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetValue()Specifies the refresh interval value.inthashCode()RefreshScheduleIntervalDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
RefreshScheduleIntervalDetails
@Deprecated public RefreshScheduleIntervalDetails(String value)
Deprecated.
-
-
Method Detail
-
builder
public static RefreshScheduleIntervalDetails.Builder builder()
Create a new builder.
-
toBuilder
public RefreshScheduleIntervalDetails.Builder toBuilder()
-
getValue
public String getValue()
Specifies the refresh interval value.The interval must be provided using the ISO 8601 extended format, either as PnW or PnYnMnDTnHnMnS, where ‘P’ is always required, ‘T’ precedes any time components less than one day, and each included component is properly suffixed. For example, “P1DT6H” represents a duration of 1 day and 6 hours.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classRefreshScheduleDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classRefreshScheduleDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classRefreshScheduleDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classRefreshScheduleDetails
-
-