GenericResourceExpandedInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. resources. fluent. models. GenericResourceInner - com.
azure. resourcemanager. resources. fluent. models. GenericResourceExpandedInner
- com.
- com.
- com.
- com.
public final class GenericResourceExpandedInner
extends GenericResourceInner
Resource information.
Constructor Summary
Constructor | Description |
---|---|
GenericResourceExpandedInner() |
Creates an instance of Generic |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
changedTime()
Get the changed |
Offset |
createdTime()
Get the created |
static
Generic |
fromJson(JsonReader jsonReader)
Reads an instance of Generic |
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 |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Generic |
withExtendedLocation(ExtendedLocation extendedLocation)
Set the extended |
Generic |
withIdentity(Identity identity)
Set the identity property: The identity of the resource. |
Generic |
withKind(String kind)
Set the kind property: The kind of the resource. |
Generic |
withLocation(String location) |
Generic |
withManagedBy(String managedBy)
Set the managed |
Generic |
withPlan(Plan plan)
Set the plan property: The plan of the resource. |
Generic |
withProperties(Object properties)
Set the properties property: The resource properties. |
Generic |
withSku(Sku sku)
Set the sku property: The SKU of the resource. |
Generic |
withTags(Map<String,String> tags) |
Methods inherited from Resource
Methods inherited from GenericResourceInner
Methods inherited from java.lang.Object
Constructor Details
GenericResourceExpandedInner
public GenericResourceExpandedInner()
Creates an instance of GenericResourceExpandedInner class.
Method Details
changedTime
public OffsetDateTime changedTime()
Get the changedTime property: The changed time of the resource. This is only present if requested via the $expand query parameter.
Returns:
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: The created time of the resource. This is only present if requested via the $expand query parameter.
Returns:
fromJson
public static GenericResourceExpandedInner fromJson(JsonReader jsonReader)
Reads an instance of GenericResourceExpandedInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GenericResourceExpandedInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GenericResourceExpandedInner.name()Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning state of the resource. This is only present if requested via the $expand query parameter.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GenericResourceExpandedInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GenericResourceExpandedInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
GenericResourceExpandedInner.validate()withExtendedLocation
public GenericResourceExpandedInner withExtendedLocation(ExtendedLocation extendedLocation)
Set the extendedLocation property: Resource extended location.
Overrides:
GenericResourceExpandedInner.withExtendedLocation(ExtendedLocation extendedLocation)Parameters:
withIdentity
public GenericResourceExpandedInner withIdentity(Identity identity)
Set the identity property: The identity of the resource.
Overrides:
GenericResourceExpandedInner.withIdentity(Identity identity)Parameters:
withKind
public GenericResourceExpandedInner withKind(String kind)
Set the kind property: The kind of the resource.
Overrides:
GenericResourceExpandedInner.withKind(String kind)Parameters:
withLocation
public GenericResourceExpandedInner withLocation(String location)
Overrides:
GenericResourceExpandedInner.withLocation(String location)Parameters:
withManagedBy
public GenericResourceExpandedInner withManagedBy(String managedBy)
Set the managedBy property: ID of the resource that manages this resource.
Overrides:
GenericResourceExpandedInner.withManagedBy(String managedBy)Parameters:
withPlan
public GenericResourceExpandedInner withPlan(Plan plan)
Set the plan property: The plan of the resource.
Overrides:
GenericResourceExpandedInner.withPlan(Plan plan)Parameters:
withProperties
public GenericResourceExpandedInner withProperties(Object properties)
Set the properties property: The resource properties.
Overrides:
GenericResourceExpandedInner.withProperties(Object properties)Parameters:
withSku
public GenericResourceExpandedInner withSku(Sku sku)
Set the sku property: The SKU of the resource.
Overrides:
GenericResourceExpandedInner.withSku(Sku sku)Parameters:
withTags
public GenericResourceExpandedInner withTags(Map
Overrides:
GenericResourceExpandedInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java