ProfileListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.trafficmanager.models.ProfileListResult

Implements

public final class ProfileListResult
implements JsonSerializable<ProfileListResult>

The list Traffic Manager profiles operation response.

Constructor Summary

Constructor Description
ProfileListResult()

Creates an instance of ProfileListResult class.

Method Summary

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

Reads an instance of ProfileListResult from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ProfileInner> value()

Get the value property: Gets the list of Traffic manager profiles.

ProfileListResult withValue(List<ProfileInner> value)

Set the value property: Gets the list of Traffic manager profiles.

Methods inherited from java.lang.Object

Constructor Details

ProfileListResult

public ProfileListResult()

Creates an instance of ProfileListResult class.

Method Details

fromJson

public static ProfileListResult fromJson(JsonReader jsonReader)

Reads an instance of ProfileListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: Gets the list of Traffic manager profiles.

Returns:

the value value.

withValue

public ProfileListResult withValue(List value)

Set the value property: Gets the list of Traffic manager profiles.

Parameters:

value - the value value to set.

Returns:

the ProfileListResult object itself.

Applies to

Azure SDK for Java

Latest