Dela via


ResourcesResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.ResourcesResponseInner

Implements

public final class ResourcesResponseInner
implements JsonSerializable<ResourcesResponseInner>

Resources Response.

Constructor Summary

Constructor Description
ResourcesResponseInner()

Creates an instance of ResourcesResponseInner class.

Method Summary

Modifier and Type Method and Description
List<ResourcesResponseCustomDomainsItem> customDomains()

Get the customDomains property: The customDomains property.

List<ResourcesResponseEndpointsItem> endpoints()

Get the endpoints property: The endpoints property.

static ResourcesResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ResourcesResponseInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResourcesResponseInner withCustomDomains(List<ResourcesResponseCustomDomainsItem> customDomains)

Set the customDomains property: The customDomains property.

ResourcesResponseInner withEndpoints(List<ResourcesResponseEndpointsItem> endpoints)

Set the endpoints property: The endpoints property.

Methods inherited from java.lang.Object

Constructor Details

ResourcesResponseInner

public ResourcesResponseInner()

Creates an instance of ResourcesResponseInner class.

Method Details

customDomains

public List customDomains()

Get the customDomains property: The customDomains property.

Returns:

the customDomains value.

endpoints

public List endpoints()

Get the endpoints property: The endpoints property.

Returns:

the endpoints value.

fromJson

public static ResourcesResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ResourcesResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCustomDomains

public ResourcesResponseInner withCustomDomains(List customDomains)

Set the customDomains property: The customDomains property.

Parameters:

customDomains - the customDomains value to set.

Returns:

the ResourcesResponseInner object itself.

withEndpoints

public ResourcesResponseInner withEndpoints(List endpoints)

Set the endpoints property: The endpoints property.

Parameters:

endpoints - the endpoints value to set.

Returns:

the ResourcesResponseInner object itself.

Applies to