Condividi tramite


ContainerHostMappingInner Class

  • java.lang.Object
    • com.azure.resourcemanager.devspaces.fluent.models.ContainerHostMappingInner

Implements

public final class ContainerHostMappingInner
implements JsonSerializable<ContainerHostMappingInner>

Container host mapping object specifying the Container host resource ID and its associated Controller resource.

Constructor Summary

Constructor Description
ContainerHostMappingInner()

Creates an instance of ContainerHostMappingInner class.

Method Summary

Modifier and Type Method and Description
String containerHostResourceId()

Get the containerHostResourceId property: ARM ID of the Container Host resource.

static ContainerHostMappingInner fromJson(JsonReader jsonReader)

Reads an instance of ContainerHostMappingInner from the JsonReader.

String mappedControllerResourceId()

Get the mappedControllerResourceId property: ARM ID of the mapped Controller resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContainerHostMappingInner withContainerHostResourceId(String containerHostResourceId)

Set the containerHostResourceId property: ARM ID of the Container Host resource.

Methods inherited from java.lang.Object

Constructor Details

ContainerHostMappingInner

public ContainerHostMappingInner()

Creates an instance of ContainerHostMappingInner class.

Method Details

containerHostResourceId

public String containerHostResourceId()

Get the containerHostResourceId property: ARM ID of the Container Host resource.

Returns:

the containerHostResourceId value.

fromJson

public static ContainerHostMappingInner fromJson(JsonReader jsonReader)

Reads an instance of ContainerHostMappingInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ContainerHostMappingInner.

mappedControllerResourceId

public String mappedControllerResourceId()

Get the mappedControllerResourceId property: ARM ID of the mapped Controller resource.

Returns:

the mappedControllerResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withContainerHostResourceId

public ContainerHostMappingInner withContainerHostResourceId(String containerHostResourceId)

Set the containerHostResourceId property: ARM ID of the Container Host resource.

Parameters:

containerHostResourceId - the containerHostResourceId value to set.

Returns:

the ContainerHostMappingInner object itself.

Applies to