BlobInventoryPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. storage. fluent. models. BlobInventoryPolicyInner
- com.
- com.
public final class BlobInventoryPolicyInner
extends ProxyResource
The storage account blob inventory policy.
Constructor Summary
Constructor | Description |
---|---|
BlobInventoryPolicyInner() |
Creates an instance of Blob |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Blob |
fromJson(JsonReader jsonReader)
Reads an instance of Blob |
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. |
Blob |
policy()
Get the policy property: The storage account blob inventory policy object. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Blob |
withPolicy(BlobInventoryPolicySchema policy)
Set the policy property: The storage account blob inventory policy object. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
BlobInventoryPolicyInner
public BlobInventoryPolicyInner()
Creates an instance of BlobInventoryPolicyInner class.
Method Details
fromJson
public static BlobInventoryPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of BlobInventoryPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
BlobInventoryPolicyInner.id()Returns:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: Returns the last modified date and time of the blob inventory policy.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
BlobInventoryPolicyInner.name()Returns:
policy
public BlobInventoryPolicySchema policy()
Get the policy property: The storage account blob inventory policy object. It is composed of policy rules.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BlobInventoryPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
BlobInventoryPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withPolicy
public BlobInventoryPolicyInner withPolicy(BlobInventoryPolicySchema policy)
Set the policy property: The storage account blob inventory policy object. It is composed of policy rules.
Parameters:
Returns:
Applies to
Azure SDK for Java