Class TieringConfigurationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.lustrefilestorage.model.TieringConfigurationDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20250228") public final class TieringConfigurationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelTiering configuration details for a Lustre file system.Tiering archives eligible file data to Object Storage while keeping files visible at their original Lustre paths and restoring archived data transparently when accessed. When tiering is enabled and policyMode is CUSTOM, provide one or more policy rules. When tiering is disabled, custom policy rules are optional. If policyMode is DEFAULT, the service applies the built-in tiering policy rule, which archives files larger than 1 MB that have not been accessed for more than 30 days.
Note: Objects should always be created or deserialized using theTieringConfigurationDetails.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 theTieringConfigurationDetails.Builder, which maintain a set of all explicitly set fields calledTieringConfigurationDetails.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 classTieringConfigurationDetails.Builderstatic classTieringConfigurationDetails.PolicyModeWhether the service default policy rule or custom policy rules are used.
-
Constructor Summary
Constructors Constructor Description TieringConfigurationDetails(Boolean isEnabled, TieringConfigurationDetails.PolicyMode policyMode, List<TieringPolicyRule> rules)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TieringConfigurationDetails.Builderbuilder()Create a new builder.booleanequals(Object o)BooleangetIsEnabled()Whether tiering is enabled for the Lustre file system.TieringConfigurationDetails.PolicyModegetPolicyMode()Whether the service default policy rule or custom policy rules are used.List<TieringPolicyRule>getRules()Custom tiering policy rules.inthashCode()TieringConfigurationDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
TieringConfigurationDetails
@Deprecated @ConstructorProperties({"isEnabled","policyMode","rules"}) public TieringConfigurationDetails(Boolean isEnabled, TieringConfigurationDetails.PolicyMode policyMode, List<TieringPolicyRule> rules)
Deprecated.
-
-
Method Detail
-
builder
public static TieringConfigurationDetails.Builder builder()
Create a new builder.
-
toBuilder
public TieringConfigurationDetails.Builder toBuilder()
-
getIsEnabled
public Boolean getIsEnabled()
Whether tiering is enabled for the Lustre file system.If unspecified, defaults to false.
- Returns:
- the value
-
getPolicyMode
public TieringConfigurationDetails.PolicyMode getPolicyMode()
Whether the service default policy rule or custom policy rules are used.If unspecified, defaults to DEFAULT. When set to DEFAULT, the service applies the built-in tiering policy rule, which archives files larger than 1 MB that have not been accessed for more than 30 days. When set to CUSTOM, the service uses the policy rules specified in rules.
- Returns:
- the value
-
getRules
public List<TieringPolicyRule> getRules()
Custom tiering policy rules.Specify this only when policyMode is CUSTOM. When policyMode is DEFAULT, omit this property; the service applies the built-in tiering policy rule instead. An enabled custom policy must contain 1 to 50 rules. When tiering is disabled, custom policy rules are optional.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-