StorageTaskInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. storageactions. fluent. models. StorageTaskInner
- com.
- com.
- com.
public final class StorageTaskInner
extends Resource
Represents Storage Task.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageTaskInner() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Managed |
identity()
Get the identity property: The managed service identity of the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Storage |
properties()
Get the properties property: Properties of the storage task. |
|
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. |
|
Storage |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identity of the resource. |
|
Storage |
withLocation(String location) |
|
Storage |
withProperties(StorageTaskProperties properties)
Set the properties property: Properties of the storage task. |
|
Storage |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
StorageTaskInner
public StorageTaskInner()
Creates an instance of StorageTaskInner class.
Method Details
fromJson
public static StorageTaskInner fromJson(JsonReader jsonReader)
Reads an instance of StorageTaskInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StorageTaskInner.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: The managed service identity of the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StorageTaskInner.name()Returns:
properties
public StorageTaskProperties properties()
Get the properties property: Properties of the storage task.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StorageTaskInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StorageTaskInner.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public StorageTaskInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identity of the resource.
Parameters:
Returns:
withLocation
public StorageTaskInner withLocation(String location)
Overrides:
StorageTaskInner.withLocation(String location)Parameters:
withProperties
public StorageTaskInner withProperties(StorageTaskProperties properties)
Set the properties property: Properties of the storage task.
Parameters:
Returns:
withTags
public StorageTaskInner withTags(Map<String,String> tags)
Overrides:
StorageTaskInner.withTags(Map<String,String> tags)Parameters: