ApplicationGatewayForContainersReferenceDefinition Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ApplicationGatewayForContainersReferenceDefinition

Implements

public final class ApplicationGatewayForContainersReferenceDefinition
implements JsonSerializable<ApplicationGatewayForContainersReferenceDefinition>

Defines an application gateway for containers reference.

Constructor Summary

Constructor Description
ApplicationGatewayForContainersReferenceDefinition()

Creates an instance of ApplicationGatewayForContainersReferenceDefinition class.

Method Summary

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

Reads an instance of ApplicationGatewayForContainersReferenceDefinition from the JsonReader.

String id()

Get the id property: Resource Id of the application gateway for containers.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayForContainersReferenceDefinition withId(String id)

Set the id property: Resource Id of the application gateway for containers.

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayForContainersReferenceDefinition

public ApplicationGatewayForContainersReferenceDefinition()

Creates an instance of ApplicationGatewayForContainersReferenceDefinition class.

Method Details

fromJson

public static ApplicationGatewayForContainersReferenceDefinition fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayForContainersReferenceDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayForContainersReferenceDefinition 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: Resource Id of the application gateway for containers.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public ApplicationGatewayForContainersReferenceDefinition withId(String id)

Set the id property: Resource Id of the application gateway for containers.

Parameters:

id - the id value to set.

Returns:

the ApplicationGatewayForContainersReferenceDefinition object itself.

Applies to