Share via


DtlEnvironmentFragment Class

public final class DtlEnvironmentFragment
extends UpdateResource

An environment, which is essentially an ARM template deployment.

Constructor Summary

Constructor Description
DtlEnvironmentFragment()

Creates an instance of DtlEnvironmentFragment class.

Method Summary

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

Reads an instance of DtlEnvironmentFragment from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DtlEnvironmentFragment withTags(Map<String,String> tags)

Set the tags property: The tags of the resource.

Methods inherited from UpdateResource

Methods inherited from java.lang.Object

Constructor Details

DtlEnvironmentFragment

public DtlEnvironmentFragment()

Creates an instance of DtlEnvironmentFragment class.

Method Details

fromJson

public static DtlEnvironmentFragment fromJson(JsonReader jsonReader)

Reads an instance of DtlEnvironmentFragment from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DtlEnvironmentFragment.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

DtlEnvironmentFragment.validate()

withTags

public DtlEnvironmentFragment withTags(Map<String,String> tags)

Set the tags property: The tags of the resource.

Overrides:

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

Parameters:

tags

Applies to