次の方法で共有


EnvironmentDefinitionParameter Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.models.EnvironmentDefinitionParameter

Implements

public final class EnvironmentDefinitionParameter
implements JsonSerializable<EnvironmentDefinitionParameter>

Properties of an Environment Definition parameter.

Constructor Summary

Constructor Description
EnvironmentDefinitionParameter()

Creates an instance of EnvironmentDefinitionParameter class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of the parameter.

static EnvironmentDefinitionParameter fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentDefinitionParameter from the JsonReader.

String id()

Get the id property: Unique ID of the parameter.

String name()

Get the name property: Display name of the parameter.

Boolean readOnly()

Get the readOnly property: Whether or not this parameter is read-only.

Boolean required()

Get the required property: Whether or not this parameter is required.

JsonWriter toJson(JsonWriter jsonWriter)
ParameterType type()

Get the type property: A string of one of the basic JSON types (number, integer, array, object, boolean, string).

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

EnvironmentDefinitionParameter

public EnvironmentDefinitionParameter()

Creates an instance of EnvironmentDefinitionParameter class.

Method Details

description

public String description()

Get the description property: Description of the parameter.

Returns:

the description value.

fromJson

public static EnvironmentDefinitionParameter fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentDefinitionParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Unique ID of the parameter.

Returns:

the id value.

name

public String name()

Get the name property: Display name of the parameter.

Returns:

the name value.

readOnly

public Boolean readOnly()

Get the readOnly property: Whether or not this parameter is read-only. If true, default should have a value.

Returns:

the readOnly value.

required

public Boolean required()

Get the required property: Whether or not this parameter is required.

Returns:

the required value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ParameterType type()

Get the type property: A string of one of the basic JSON types (number, integer, array, object, boolean, string).

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to