Compartilhar via


LinkableEnvironmentResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.dynatrace.fluent.models.LinkableEnvironmentResponseInner

Implements

public final class LinkableEnvironmentResponseInner
implements JsonSerializable<LinkableEnvironmentResponseInner>

Response for getting all the linkable environments.

Constructor Summary

Constructor Description
LinkableEnvironmentResponseInner()

Creates an instance of LinkableEnvironmentResponseInner class.

Method Summary

Modifier and Type Method and Description
String environmentId()

Get the environmentId property: environment id for which user is an admin.

String environmentName()

Get the environmentName property: Name of the environment.

static LinkableEnvironmentResponseInner fromJson(JsonReader jsonReader)

Reads an instance of LinkableEnvironmentResponseInner from the JsonReader.

PlanData planData()

Get the planData property: Billing plan information.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LinkableEnvironmentResponseInner withEnvironmentId(String environmentId)

Set the environmentId property: environment id for which user is an admin.

LinkableEnvironmentResponseInner withEnvironmentName(String environmentName)

Set the environmentName property: Name of the environment.

LinkableEnvironmentResponseInner withPlanData(PlanData planData)

Set the planData property: Billing plan information.

Methods inherited from java.lang.Object

Constructor Details

LinkableEnvironmentResponseInner

public LinkableEnvironmentResponseInner()

Creates an instance of LinkableEnvironmentResponseInner class.

Method Details

environmentId

public String environmentId()

Get the environmentId property: environment id for which user is an admin.

Returns:

the environmentId value.

environmentName

public String environmentName()

Get the environmentName property: Name of the environment.

Returns:

the environmentName value.

fromJson

public static LinkableEnvironmentResponseInner fromJson(JsonReader jsonReader)

Reads an instance of LinkableEnvironmentResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

planData

public PlanData planData()

Get the planData property: Billing plan information.

Returns:

the planData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnvironmentId

public LinkableEnvironmentResponseInner withEnvironmentId(String environmentId)

Set the environmentId property: environment id for which user is an admin.

Parameters:

environmentId - the environmentId value to set.

Returns:

the LinkableEnvironmentResponseInner object itself.

withEnvironmentName

public LinkableEnvironmentResponseInner withEnvironmentName(String environmentName)

Set the environmentName property: Name of the environment.

Parameters:

environmentName - the environmentName value to set.

Returns:

the LinkableEnvironmentResponseInner object itself.

withPlanData

public LinkableEnvironmentResponseInner withPlanData(PlanData planData)

Set the planData property: Billing plan information.

Parameters:

planData - the planData value to set.

Returns:

the LinkableEnvironmentResponseInner object itself.

Applies to