次の方法で共有


GenericResourceInner Class

public class GenericResourceInner
extends Resource

Resource information.

Constructor Summary

Constructor Description
GenericResourceInner()

Creates an instance of GenericResourceInner class.

Method Summary

Modifier and Type Method and Description
ExtendedLocation extendedLocation()

Get the extendedLocation property: Resource extended location.

Identity identity()

Get the identity property: The identity of the resource.

String kind()

Get the kind property: The kind of the resource.

String managedBy()

Get the managedBy property: ID of the resource that manages this resource.

Plan plan()

Get the plan property: The plan of the resource.

Object properties()

Get the properties property: The resource properties.

Sku sku()

Get the sku property: The SKU of the resource.

void validate()

Validates the instance.

GenericResourceInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: Resource extended location.

GenericResourceInner withIdentity(Identity identity)

Set the identity property: The identity of the resource.

GenericResourceInner withKind(String kind)

Set the kind property: The kind of the resource.

GenericResourceInner withLocation(String location)
GenericResourceInner withManagedBy(String managedBy)

Set the managedBy property: ID of the resource that manages this resource.

GenericResourceInner withPlan(Plan plan)

Set the plan property: The plan of the resource.

GenericResourceInner withProperties(Object properties)

Set the properties property: The resource properties.

GenericResourceInner withSku(Sku sku)

Set the sku property: The SKU of the resource.

GenericResourceInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

GenericResourceInner

public GenericResourceInner()

Creates an instance of GenericResourceInner class.

Method Details

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: Resource extended location.

Returns:

the extendedLocation value.

identity

public Identity identity()

Get the identity property: The identity of the resource.

Returns:

the identity value.

kind

public String kind()

Get the kind property: The kind of the resource.

Returns:

the kind value.

managedBy

public String managedBy()

Get the managedBy property: ID of the resource that manages this resource.

Returns:

the managedBy value.

plan

public Plan plan()

Get the plan property: The plan of the resource.

Returns:

the plan value.

properties

public Object properties()

Get the properties property: The resource properties.

Returns:

the properties value.

sku

public Sku sku()

Get the sku property: The SKU of the resource.

Returns:

the sku value.

validate

public void validate()

Validates the instance.

withExtendedLocation

public GenericResourceInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: Resource extended location.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the GenericResourceInner object itself.

withIdentity

public GenericResourceInner withIdentity(Identity identity)

Set the identity property: The identity of the resource.

Parameters:

identity - the identity value to set.

Returns:

the GenericResourceInner object itself.

withKind

public GenericResourceInner withKind(String kind)

Set the kind property: The kind of the resource.

Parameters:

kind - the kind value to set.

Returns:

the GenericResourceInner object itself.

withLocation

public GenericResourceInner withLocation(String location)

Overrides:

GenericResourceInner.withLocation(String location)

Parameters:

location

withManagedBy

public GenericResourceInner withManagedBy(String managedBy)

Set the managedBy property: ID of the resource that manages this resource.

Parameters:

managedBy - the managedBy value to set.

Returns:

the GenericResourceInner object itself.

withPlan

public GenericResourceInner withPlan(Plan plan)

Set the plan property: The plan of the resource.

Parameters:

plan - the plan value to set.

Returns:

the GenericResourceInner object itself.

withProperties

public GenericResourceInner withProperties(Object properties)

Set the properties property: The resource properties.

Parameters:

properties - the properties value to set.

Returns:

the GenericResourceInner object itself.

withSku

public GenericResourceInner withSku(Sku sku)

Set the sku property: The SKU of the resource.

Parameters:

sku - the sku value to set.

Returns:

the GenericResourceInner object itself.

withTags

public GenericResourceInner withTags(Map tags)

Overrides:

GenericResourceInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to