ManagementPolicySnapShot Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. ManagementPolicySnapShot
- com.
Implements
public final class ManagementPolicySnapShot
implements JsonSerializable<ManagementPolicySnapShot>
Management policy action for snapshot.
Constructor Summary
Constructor | Description |
---|---|
ManagementPolicySnapShot() |
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 snapshot. |
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(DateAfterCreation delete)
Set the delete property: The function to delete the blob snapshot. |
Management |
withTierToArchive(DateAfterCreation tierToArchive)
Set the tier |
Management |
withTierToCold(DateAfterCreation tierToCold)
Set the tier |
Management |
withTierToCool(DateAfterCreation tierToCool)
Set the tier |
Management |
withTierToHot(DateAfterCreation tierToHot)
Set the tier |
Methods inherited from java.lang.Object
Constructor Details
ManagementPolicySnapShot
public ManagementPolicySnapShot()
Creates an instance of ManagementPolicySnapShot class.
Method Details
delete
public DateAfterCreation delete()
Get the delete property: The function to delete the blob snapshot.
Returns:
fromJson
public static ManagementPolicySnapShot fromJson(JsonReader jsonReader)
Reads an instance of ManagementPolicySnapShot from the JsonReader.
Parameters:
Returns:
Throws:
tierToArchive
public DateAfterCreation tierToArchive()
Get the tierToArchive property: The function to tier blob snapshot to archive storage.
Returns:
tierToCold
public DateAfterCreation tierToCold()
Get the tierToCold property: The function to tier blobs to cold storage.
Returns:
tierToCool
public DateAfterCreation tierToCool()
Get the tierToCool property: The function to tier blob snapshot to cool storage.
Returns:
tierToHot
public DateAfterCreation 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 ManagementPolicySnapShot withDelete(DateAfterCreation delete)
Set the delete property: The function to delete the blob snapshot.
Parameters:
Returns:
withTierToArchive
public ManagementPolicySnapShot withTierToArchive(DateAfterCreation tierToArchive)
Set the tierToArchive property: The function to tier blob snapshot to archive storage.
Parameters:
Returns:
withTierToCold
public ManagementPolicySnapShot withTierToCold(DateAfterCreation tierToCold)
Set the tierToCold property: The function to tier blobs to cold storage.
Parameters:
Returns:
withTierToCool
public ManagementPolicySnapShot withTierToCool(DateAfterCreation tierToCool)
Set the tierToCool property: The function to tier blob snapshot to cool storage.
Parameters:
Returns:
withTierToHot
public ManagementPolicySnapShot withTierToHot(DateAfterCreation 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: