StaticSiteUserProvidedFunctionAppArmResourceInner Class

public final class StaticSiteUserProvidedFunctionAppArmResourceInner
extends ProxyOnlyResource

Static Site User Provided Function App ARM resource.

Constructor Summary

Constructor Description
StaticSiteUserProvidedFunctionAppArmResourceInner()

Creates an instance of StaticSiteUserProvidedFunctionAppArmResourceInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdOn()

Get the createdOn property: The date and time on which the function app was registered with the static site.

static StaticSiteUserProvidedFunctionAppArmResourceInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteUserProvidedFunctionAppArmResourceInner from the JsonReader.

String functionAppRegion()

Get the functionAppRegion property: The region of the function app registered with the static site.

String functionAppResourceId()

Get the functionAppResourceId property: The resource id of the function app registered with the static site.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StaticSiteUserProvidedFunctionAppArmResourceInner withFunctionAppRegion(String functionAppRegion)

Set the functionAppRegion property: The region of the function app registered with the static site.

StaticSiteUserProvidedFunctionAppArmResourceInner withFunctionAppResourceId(String functionAppResourceId)

Set the functionAppResourceId property: The resource id of the function app registered with the static site.

StaticSiteUserProvidedFunctionAppArmResourceInner withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

StaticSiteUserProvidedFunctionAppArmResourceInner

public StaticSiteUserProvidedFunctionAppArmResourceInner()

Creates an instance of StaticSiteUserProvidedFunctionAppArmResourceInner class.

Method Details

createdOn

public OffsetDateTime createdOn()

Get the createdOn property: The date and time on which the function app was registered with the static site.

Returns:

the createdOn value.

fromJson

public static StaticSiteUserProvidedFunctionAppArmResourceInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteUserProvidedFunctionAppArmResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StaticSiteUserProvidedFunctionAppArmResourceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

functionAppRegion

public String functionAppRegion()

Get the functionAppRegion property: The region of the function app registered with the static site.

Returns:

the functionAppRegion value.

functionAppResourceId

public String functionAppResourceId()

Get the functionAppResourceId property: The resource id of the function app registered with the static site.

Returns:

the functionAppResourceId value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

StaticSiteUserProvidedFunctionAppArmResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StaticSiteUserProvidedFunctionAppArmResourceInner.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StaticSiteUserProvidedFunctionAppArmResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StaticSiteUserProvidedFunctionAppArmResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

StaticSiteUserProvidedFunctionAppArmResourceInner.validate()

withFunctionAppRegion

public StaticSiteUserProvidedFunctionAppArmResourceInner withFunctionAppRegion(String functionAppRegion)

Set the functionAppRegion property: The region of the function app registered with the static site.

Parameters:

functionAppRegion - the functionAppRegion value to set.

Returns:

the StaticSiteUserProvidedFunctionAppArmResourceInner object itself.

withFunctionAppResourceId

public StaticSiteUserProvidedFunctionAppArmResourceInner withFunctionAppResourceId(String functionAppResourceId)

Set the functionAppResourceId property: The resource id of the function app registered with the static site.

Parameters:

functionAppResourceId - the functionAppResourceId value to set.

Returns:

the StaticSiteUserProvidedFunctionAppArmResourceInner object itself.

withKind

public StaticSiteUserProvidedFunctionAppArmResourceInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

StaticSiteUserProvidedFunctionAppArmResourceInner.withKind(String kind)

Parameters:

kind

Applies to