Partager via


SqlTriggerGetResultsInner Class

public final class SqlTriggerGetResultsInner
extends ArmResourceProperties

An Azure Cosmos DB trigger.

Constructor Summary

Constructor Description
SqlTriggerGetResultsInner()

Creates an instance of SqlTriggerGetResultsInner class.

Method Summary

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

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

SqlTriggerGetPropertiesResource 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.

SqlTriggerGetResultsInner withLocation(String location)
SqlTriggerGetResultsInner withResource(SqlTriggerGetPropertiesResource resource)

Set the resource property: The resource property.

SqlTriggerGetResultsInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ArmResourceProperties

Methods inherited from java.lang.Object

Constructor Details

SqlTriggerGetResultsInner

public SqlTriggerGetResultsInner()

Creates an instance of SqlTriggerGetResultsInner class.

Method Details

fromJson

public static SqlTriggerGetResultsInner fromJson(JsonReader jsonReader)

Reads an instance of SqlTriggerGetResultsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

SqlTriggerGetResultsInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SqlTriggerGetResultsInner.name()

Returns:

the name value.

resource

public SqlTriggerGetPropertiesResource resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SqlTriggerGetResultsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SqlTriggerGetResultsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SqlTriggerGetResultsInner.validate()

withLocation

public SqlTriggerGetResultsInner withLocation(String location)

Overrides:

SqlTriggerGetResultsInner.withLocation(String location)

Parameters:

location

withResource

public SqlTriggerGetResultsInner withResource(SqlTriggerGetPropertiesResource resource)

Set the resource property: The resource property.

Parameters:

resource - the resource value to set.

Returns:

the SqlTriggerGetResultsInner object itself.

withTags

public SqlTriggerGetResultsInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to