GallerySoftDeletedResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. GallerySoftDeletedResourceInner
- com.
- com.
- com.
public final class GallerySoftDeletedResourceInner
extends Resource
The details information of soft-deleted resource.
Constructor Summary
Constructor | Description |
---|---|
GallerySoftDeletedResourceInner() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
resourceArmId()
Get the resource |
Soft |
softDeletedArtifactType()
Get the soft |
String |
softDeletedTime()
Get the soft |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Gallery |
withLocation(String location) |
Gallery |
withResourceArmId(String resourceArmId)
Set the resource |
Gallery |
withSoftDeletedArtifactType(SoftDeletedArtifactTypes softDeletedArtifactType)
Set the soft |
Gallery |
withSoftDeletedTime(String softDeletedTime)
Set the soft |
Gallery |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
GallerySoftDeletedResourceInner
public GallerySoftDeletedResourceInner()
Creates an instance of GallerySoftDeletedResourceInner class.
Method Details
fromJson
public static GallerySoftDeletedResourceInner fromJson(JsonReader jsonReader)
Reads an instance of GallerySoftDeletedResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GallerySoftDeletedResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GallerySoftDeletedResourceInner.name()Returns:
resourceArmId
public String resourceArmId()
Get the resourceArmId property: arm id of the soft-deleted resource.
Returns:
softDeletedArtifactType
public SoftDeletedArtifactTypes softDeletedArtifactType()
Get the softDeletedArtifactType property: artifact type of the soft-deleted resource.
Returns:
softDeletedTime
public String softDeletedTime()
Get the softDeletedTime property: The timestamp for when the resource is soft-deleted. In dateTime offset format.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GallerySoftDeletedResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GallerySoftDeletedResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public GallerySoftDeletedResourceInner withLocation(String location)
Overrides:
GallerySoftDeletedResourceInner.withLocation(String location)Parameters:
withResourceArmId
public GallerySoftDeletedResourceInner withResourceArmId(String resourceArmId)
Set the resourceArmId property: arm id of the soft-deleted resource.
Parameters:
Returns:
withSoftDeletedArtifactType
public GallerySoftDeletedResourceInner withSoftDeletedArtifactType(SoftDeletedArtifactTypes softDeletedArtifactType)
Set the softDeletedArtifactType property: artifact type of the soft-deleted resource.
Parameters:
Returns:
withSoftDeletedTime
public GallerySoftDeletedResourceInner withSoftDeletedTime(String softDeletedTime)
Set the softDeletedTime property: The timestamp for when the resource is soft-deleted. In dateTime offset format.
Parameters:
Returns:
withTags
public GallerySoftDeletedResourceInner withTags(Map
Overrides:
GallerySoftDeletedResourceInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java