Dela via


ResourcesResponseEndpointsItem Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.ResourcesResponseEndpointsItem

Implements

public final class ResourcesResponseEndpointsItem
implements JsonSerializable<ResourcesResponseEndpointsItem>

The ResourcesResponseEndpointsItem model.

Constructor Summary

Constructor Description
ResourcesResponseEndpointsItem()

Creates an instance of ResourcesResponseEndpointsItem class.

Method Summary

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

Get the customDomains property: The customDomains property.

static ResourcesResponseEndpointsItem fromJson(JsonReader jsonReader)

Reads an instance of ResourcesResponseEndpointsItem from the JsonReader.

Boolean history()

Get the history property: The history property.

String id()

Get the id property: The id property.

String name()

Get the name property: The name property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResourcesResponseEndpointsItem withCustomDomains(List<ResourcesResponseEndpointsPropertiesItemsItem> customDomains)

Set the customDomains property: The customDomains property.

ResourcesResponseEndpointsItem withHistory(Boolean history)

Set the history property: The history property.

ResourcesResponseEndpointsItem withId(String id)

Set the id property: The id property.

ResourcesResponseEndpointsItem withName(String name)

Set the name property: The name property.

Methods inherited from java.lang.Object

Constructor Details

ResourcesResponseEndpointsItem

public ResourcesResponseEndpointsItem()

Creates an instance of ResourcesResponseEndpointsItem class.

Method Details

customDomains

public List customDomains()

Get the customDomains property: The customDomains property.

Returns:

the customDomains value.

fromJson

public static ResourcesResponseEndpointsItem fromJson(JsonReader jsonReader)

Reads an instance of ResourcesResponseEndpointsItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

history

public Boolean history()

Get the history property: The history property.

Returns:

the history value.

id

public String id()

Get the id property: The id property.

Returns:

the id value.

name

public String name()

Get the name property: The name property.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCustomDomains

public ResourcesResponseEndpointsItem withCustomDomains(List customDomains)

Set the customDomains property: The customDomains property.

Parameters:

customDomains - the customDomains value to set.

Returns:

the ResourcesResponseEndpointsItem object itself.

withHistory

public ResourcesResponseEndpointsItem withHistory(Boolean history)

Set the history property: The history property.

Parameters:

history - the history value to set.

Returns:

the ResourcesResponseEndpointsItem object itself.

withId

public ResourcesResponseEndpointsItem withId(String id)

Set the id property: The id property.

Parameters:

id - the id value to set.

Returns:

the ResourcesResponseEndpointsItem object itself.

withName

public ResourcesResponseEndpointsItem withName(String name)

Set the name property: The name property.

Parameters:

name - the name value to set.

Returns:

the ResourcesResponseEndpointsItem object itself.

Applies to