ManagementPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storage. fluent. models. ManagementPolicyInner
- com.
- com.
public final class ManagementPolicyInner
extends ProxyResource
The Get Storage Account ManagementPolicies operation response.
Constructor Summary
Constructor | Description |
---|---|
ManagementPolicyInner() |
Creates an instance of Management |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Management |
fromJson(JsonReader jsonReader)
Reads an instance of Management |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Offset |
lastModifiedTime()
Get the last |
String |
name()
Get the name property: The name of the resource. |
Management |
policy()
Get the policy property: The Storage Account Management |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Management |
withPolicy(ManagementPolicySchema policy)
Set the policy property: The Storage Account Management |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ManagementPolicyInner
public ManagementPolicyInner()
Creates an instance of ManagementPolicyInner class.
Method Details
fromJson
public static ManagementPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of ManagementPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagementPolicyInner.id()Returns:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: Returns the date and time the ManagementPolicies was last modified.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagementPolicyInner.name()Returns:
policy
public ManagementPolicySchema policy()
Get the policy property: The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagementPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagementPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withPolicy
public ManagementPolicyInner withPolicy(ManagementPolicySchema policy)
Set the policy property: The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
Parameters:
Returns:
Applies to
Azure SDK for Java