public final class GenericResourceExpandedInner extends GenericResourceInner
| Constructor and Description |
|---|
GenericResourceExpandedInner() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
changedTime()
Get the changedTime property: The changed time of the resource.
|
OffsetDateTime |
createdTime()
Get the createdTime property: The created time of the resource.
|
String |
provisioningState()
Get the provisioningState property: The provisioning state of the resource.
|
void |
validate()
Validates the instance.
|
GenericResourceExpandedInner |
withIdentity(Identity identity)
Set the identity property: The identity of the resource.
|
GenericResourceExpandedInner |
withKind(String kind)
Set the kind property: The kind of the resource.
|
GenericResourceExpandedInner |
withLocation(String location) |
GenericResourceExpandedInner |
withManagedBy(String managedBy)
Set the managedBy property: ID of the resource that manages this resource.
|
GenericResourceExpandedInner |
withPlan(Plan plan)
Set the plan property: The plan of the resource.
|
GenericResourceExpandedInner |
withProperties(Object properties)
Set the properties property: The resource properties.
|
GenericResourceExpandedInner |
withSku(Sku sku)
Set the sku property: The SKU of the resource.
|
GenericResourceExpandedInner |
withTags(Map<String,String> tags) |
identity, kind, managedBy, plan, properties, skupublic OffsetDateTime createdTime()
public OffsetDateTime changedTime()
public String provisioningState()
public GenericResourceExpandedInner withPlan(Plan plan)
withPlan in class GenericResourceInnerplan - the plan value to set.public GenericResourceExpandedInner withProperties(Object properties)
withProperties in class GenericResourceInnerproperties - the properties value to set.public GenericResourceExpandedInner withKind(String kind)
withKind in class GenericResourceInnerkind - the kind value to set.public GenericResourceExpandedInner withManagedBy(String managedBy)
withManagedBy in class GenericResourceInnermanagedBy - the managedBy value to set.public GenericResourceExpandedInner withSku(Sku sku)
withSku in class GenericResourceInnersku - the sku value to set.public GenericResourceExpandedInner withIdentity(Identity identity)
withIdentity in class GenericResourceInneridentity - the identity value to set.public GenericResourceExpandedInner withLocation(String location)
withLocation in class GenericResourceInnerpublic GenericResourceExpandedInner withTags(Map<String,String> tags)
withTags in class GenericResourceInnerpublic void validate()
validate in class GenericResourceInnerIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.