SqlUserDefinedFunctionGetResultsInner Class

public final class SqlUserDefinedFunctionGetResultsInner
extends ArmResourceProperties

An Azure Cosmos DB userDefinedFunction.

Constructor Summary

Constructor Description
SqlUserDefinedFunctionGetResultsInner()

Creates an instance of SqlUserDefinedFunctionGetResultsInner class.

Method Summary

Modifier and Type Method and Description
static SqlUserDefinedFunctionGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of SqlUserDefinedFunctionGetResultsInner 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.

SqlUserDefinedFunctionGetPropertiesResource resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SqlUserDefinedFunctionGetResultsInner withLocation(String location)
SqlUserDefinedFunctionGetResultsInner withResource(SqlUserDefinedFunctionGetPropertiesResource resource)

Set the resource property: The resource property.

SqlUserDefinedFunctionGetResultsInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ArmResourceProperties

Methods inherited from java.lang.Object

Constructor Details

SqlUserDefinedFunctionGetResultsInner

public SqlUserDefinedFunctionGetResultsInner()

Creates an instance of SqlUserDefinedFunctionGetResultsInner class.

Method Details

fromJson

public static SqlUserDefinedFunctionGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of SqlUserDefinedFunctionGetResultsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlUserDefinedFunctionGetResultsInner 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:

SqlUserDefinedFunctionGetResultsInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SqlUserDefinedFunctionGetResultsInner.name()

Returns:

the name value.

resource

public SqlUserDefinedFunctionGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlUserDefinedFunctionGetResultsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SqlUserDefinedFunctionGetResultsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SqlUserDefinedFunctionGetResultsInner.validate()

withLocation

public SqlUserDefinedFunctionGetResultsInner withLocation(String location)

Overrides:

SqlUserDefinedFunctionGetResultsInner.withLocation(String location)

Parameters:

location

withResource

public SqlUserDefinedFunctionGetResultsInner withResource(SqlUserDefinedFunctionGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the SqlUserDefinedFunctionGetResultsInner object itself.

withTags

public SqlUserDefinedFunctionGetResultsInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to