Class GenericResourceExpandedInner
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
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Resource information.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GenericResourceExpandedInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the changedTime property: The changed time of the resource.Get the createdTime property: The created time of the resource.Get the provisioningState property: The provisioning state of the resource.voidvalidate()Validates the instance.withExtendedLocation(ExtendedLocation extendedLocation) Set the extendedLocation property: Resource extended location.withIdentity(Identity identity) Set the identity property: The identity of the resource.Set the kind property: The kind of the resource.withLocation(String location) withManagedBy(String managedBy) Set the managedBy property: ID of the resource that manages this resource.Set the plan property: The plan of the resource.withProperties(Object properties) Set the properties property: The resource properties.Set the sku property: The SKU of the resource.Methods inherited from class com.azure.resourcemanager.resources.fluent.models.GenericResourceInner
extendedLocation, identity, kind, managedBy, plan, properties, skuMethods inherited from class com.azure.core.management.Resource
fromJson, location, tags, toJsonMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
GenericResourceExpandedInner
public GenericResourceExpandedInner()Creates an instance of GenericResourceExpandedInner class.
-
-
Method Details
-
createdTime
Get the createdTime property: The created time of the resource. This is only present if requested via the $expand query parameter.- Returns:
- the createdTime value.
-
changedTime
Get the changedTime property: The changed time of the resource. This is only present if requested via the $expand query parameter.- Returns:
- the changedTime value.
-
provisioningState
Get the provisioningState property: The provisioning state of the resource. This is only present if requested via the $expand query parameter.- Returns:
- the provisioningState value.
-
withPlan
Set the plan property: The plan of the resource.- Overrides:
withPlanin classGenericResourceInner- Parameters:
plan- the plan value to set.- Returns:
- the GenericResourceInner object itself.
-
withProperties
Set the properties property: The resource properties.- Overrides:
withPropertiesin classGenericResourceInner- Parameters:
properties- the properties value to set.- Returns:
- the GenericResourceInner object itself.
-
withKind
Set the kind property: The kind of the resource.- Overrides:
withKindin classGenericResourceInner- Parameters:
kind- the kind value to set.- Returns:
- the GenericResourceInner object itself.
-
withManagedBy
Set the managedBy property: ID of the resource that manages this resource.- Overrides:
withManagedByin classGenericResourceInner- Parameters:
managedBy- the managedBy value to set.- Returns:
- the GenericResourceInner object itself.
-
withSku
Set the sku property: The SKU of the resource.- Overrides:
withSkuin classGenericResourceInner- Parameters:
sku- the sku value to set.- Returns:
- the GenericResourceInner object itself.
-
withIdentity
Set the identity property: The identity of the resource.- Overrides:
withIdentityin classGenericResourceInner- Parameters:
identity- the identity value to set.- Returns:
- the GenericResourceInner object itself.
-
withExtendedLocation
Set the extendedLocation property: Resource extended location.- Overrides:
withExtendedLocationin classGenericResourceInner- Parameters:
extendedLocation- the extendedLocation value to set.- Returns:
- the GenericResourceInner object itself.
-
withLocation
- Overrides:
withLocationin classGenericResourceInner
-
withTags
- Overrides:
withTagsin classGenericResourceInner
-
validate
public void validate()Validates the instance.- Overrides:
validatein classGenericResourceInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-