Dela via


ResourcesResponseCustomDomainsItem Class

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

Implements

public final class ResourcesResponseCustomDomainsItem
implements JsonSerializable<ResourcesResponseCustomDomainsItem>

The ResourcesResponseCustomDomainsItem model.

Constructor Summary

Constructor Description
ResourcesResponseCustomDomainsItem()

Creates an instance of ResourcesResponseCustomDomainsItem class.

Method Summary

Modifier and Type Method and Description
String endpointId()

Get the endpointId property: The endpointId property.

static ResourcesResponseCustomDomainsItem fromJson(JsonReader jsonReader)

Reads an instance of ResourcesResponseCustomDomainsItem 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.

ResourcesResponseCustomDomainsItem withEndpointId(String endpointId)

Set the endpointId property: The endpointId property.

ResourcesResponseCustomDomainsItem withHistory(Boolean history)

Set the history property: The history property.

ResourcesResponseCustomDomainsItem withId(String id)

Set the id property: The id property.

ResourcesResponseCustomDomainsItem withName(String name)

Set the name property: The name property.

Methods inherited from java.lang.Object

Constructor Details

ResourcesResponseCustomDomainsItem

public ResourcesResponseCustomDomainsItem()

Creates an instance of ResourcesResponseCustomDomainsItem class.

Method Details

endpointId

public String endpointId()

Get the endpointId property: The endpointId property.

Returns:

the endpointId value.

fromJson

public static ResourcesResponseCustomDomainsItem fromJson(JsonReader jsonReader)

Reads an instance of ResourcesResponseCustomDomainsItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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.

withEndpointId

public ResourcesResponseCustomDomainsItem withEndpointId(String endpointId)

Set the endpointId property: The endpointId property.

Parameters:

endpointId - the endpointId value to set.

Returns:

the ResourcesResponseCustomDomainsItem object itself.

withHistory

public ResourcesResponseCustomDomainsItem withHistory(Boolean history)

Set the history property: The history property.

Parameters:

history - the history value to set.

Returns:

the ResourcesResponseCustomDomainsItem object itself.

withId

public ResourcesResponseCustomDomainsItem withId(String id)

Set the id property: The id property.

Parameters:

id - the id value to set.

Returns:

the ResourcesResponseCustomDomainsItem object itself.

withName

public ResourcesResponseCustomDomainsItem withName(String name)

Set the name property: The name property.

Parameters:

name - the name value to set.

Returns:

the ResourcesResponseCustomDomainsItem object itself.

Applies to