ManagementPolicyBaseBlob Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ManagementPolicyBaseBlob
- com.
Implements
public final class ManagementPolicyBaseBlob
implements JsonSerializable<ManagementPolicyBaseBlob>
Management policy action for base blob.
Constructor Summary
Constructor | Description |
---|---|
ManagementPolicyBaseBlob() |
Creates an instance of Management |
Method Summary
Modifier and Type | Method and Description |
---|---|
Date |
delete()
Get the delete property: The function to delete the blob. |
Boolean |
enableAutoTierToHotFromCool()
Get the enable |
static
Management |
fromJson(JsonReader jsonReader)
Reads an instance of Management |
Date |
tierToArchive()
Get the tier |
Date |
tierToCold()
Get the tier |
Date |
tierToCool()
Get the tier |
Date |
tierToHot()
Get the tier |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Management |
withDelete(DateAfterModification delete)
Set the delete property: The function to delete the blob. |
Management |
withEnableAutoTierToHotFromCool(Boolean enableAutoTierToHotFromCool)
Set the enable |
Management |
withTierToArchive(DateAfterModification tierToArchive)
Set the tier |
Management |
withTierToCold(DateAfterModification tierToCold)
Set the tier |
Management |
withTierToCool(DateAfterModification tierToCool)
Set the tier |
Management |
withTierToHot(DateAfterModification tierToHot)
Set the tier |
Methods inherited from java.lang.Object
Constructor Details
ManagementPolicyBaseBlob
public ManagementPolicyBaseBlob()
Creates an instance of ManagementPolicyBaseBlob class.
Method Details
delete
public DateAfterModification delete()
Get the delete property: The function to delete the blob.
Returns:
enableAutoTierToHotFromCool
public Boolean enableAutoTierToHotFromCool()
Get the enableAutoTierToHotFromCool property: This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
Returns:
fromJson
public static ManagementPolicyBaseBlob fromJson(JsonReader jsonReader)
Reads an instance of ManagementPolicyBaseBlob from the JsonReader.
Parameters:
Returns:
Throws:
tierToArchive
public DateAfterModification tierToArchive()
Get the tierToArchive property: The function to tier blobs to archive storage.
Returns:
tierToCold
public DateAfterModification tierToCold()
Get the tierToCold property: The function to tier blobs to cold storage.
Returns:
tierToCool
public DateAfterModification tierToCool()
Get the tierToCool property: The function to tier blobs to cool storage.
Returns:
tierToHot
public DateAfterModification tierToHot()
Get the tierToHot property: The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDelete
public ManagementPolicyBaseBlob withDelete(DateAfterModification delete)
Set the delete property: The function to delete the blob.
Parameters:
Returns:
withEnableAutoTierToHotFromCool
public ManagementPolicyBaseBlob withEnableAutoTierToHotFromCool(Boolean enableAutoTierToHotFromCool)
Set the enableAutoTierToHotFromCool property: This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
Parameters:
Returns:
withTierToArchive
public ManagementPolicyBaseBlob withTierToArchive(DateAfterModification tierToArchive)
Set the tierToArchive property: The function to tier blobs to archive storage.
Parameters:
Returns:
withTierToCold
public ManagementPolicyBaseBlob withTierToCold(DateAfterModification tierToCold)
Set the tierToCold property: The function to tier blobs to cold storage.
Parameters:
Returns:
withTierToCool
public ManagementPolicyBaseBlob withTierToCool(DateAfterModification tierToCool)
Set the tierToCool property: The function to tier blobs to cool storage.
Parameters:
Returns:
withTierToHot
public ManagementPolicyBaseBlob withTierToHot(DateAfterModification tierToHot)
Set the tierToHot property: The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts.
Parameters:
Returns:
Applies to
Azure SDK for Java