StaticSiteLinkedBackendArmResourceInner Class

public final class StaticSiteLinkedBackendArmResourceInner
extends ProxyOnlyResource

Static Site Linked Backend ARM resource.

Constructor Summary

Constructor Description
StaticSiteLinkedBackendArmResourceInner()

Creates an instance of StaticSiteLinkedBackendArmResourceInner class.

Method Summary

Modifier and Type Method and Description
String backendResourceId()

Get the backendResourceId property: The resource id of the backend linked to the static site.

OffsetDateTime createdOn()

Get the createdOn property: The date and time on which the backend was linked to the static site.

static StaticSiteLinkedBackendArmResourceInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteLinkedBackendArmResourceInner from the JsonReader.

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 provisioningState property: The provisioning state of the linking process.

String region()

Get the region property: The region of the backend linked to the static site.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StaticSiteLinkedBackendArmResourceInner withBackendResourceId(String backendResourceId)

Set the backendResourceId property: The resource id of the backend linked to the static site.

StaticSiteLinkedBackendArmResourceInner withKind(String kind)

Set the kind property: Kind of resource.

StaticSiteLinkedBackendArmResourceInner withRegion(String region)

Set the region property: The region of the backend linked to the static site.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

StaticSiteLinkedBackendArmResourceInner

public StaticSiteLinkedBackendArmResourceInner()

Creates an instance of StaticSiteLinkedBackendArmResourceInner class.

Method Details

backendResourceId

public String backendResourceId()

Get the backendResourceId property: The resource id of the backend linked to the static site.

Returns:

the backendResourceId value.

createdOn

public OffsetDateTime createdOn()

Get the createdOn property: The date and time on which the backend was linked to the static site.

Returns:

the createdOn value.

fromJson

public static StaticSiteLinkedBackendArmResourceInner fromJson(JsonReader jsonReader)

Reads an instance of StaticSiteLinkedBackendArmResourceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StaticSiteLinkedBackendArmResourceInner 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.

id

public String id()

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

Overrides:

StaticSiteLinkedBackendArmResourceInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StaticSiteLinkedBackendArmResourceInner.name()

Returns:

the name value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning state of the linking process.

Returns:

the provisioningState value.

region

public String region()

Get the region property: The region of the backend linked to the static site.

Returns:

the region value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StaticSiteLinkedBackendArmResourceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StaticSiteLinkedBackendArmResourceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

StaticSiteLinkedBackendArmResourceInner.validate()

withBackendResourceId

public StaticSiteLinkedBackendArmResourceInner withBackendResourceId(String backendResourceId)

Set the backendResourceId property: The resource id of the backend linked to the static site.

Parameters:

backendResourceId - the backendResourceId value to set.

Returns:

the StaticSiteLinkedBackendArmResourceInner object itself.

withKind

public StaticSiteLinkedBackendArmResourceInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

StaticSiteLinkedBackendArmResourceInner.withKind(String kind)

Parameters:

kind

withRegion

public StaticSiteLinkedBackendArmResourceInner withRegion(String region)

Set the region property: The region of the backend linked to the static site.

Parameters:

region - the region value to set.

Returns:

the StaticSiteLinkedBackendArmResourceInner object itself.

Applies to