Class ResourcesResponseCustomDomainsItem
java.lang.Object
com.azure.resourcemanager.cdn.models.ResourcesResponseCustomDomainsItem
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourcesResponseCustomDomainsItem>
public final class ResourcesResponseCustomDomainsItem
extends Object
implements com.azure.json.JsonSerializable<ResourcesResponseCustomDomainsItem>
The ResourcesResponseCustomDomainsItem model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResourcesResponseCustomDomainsItem class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endpointId property: The endpointId property.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourcesResponseCustomDomainsItem from the JsonReader.history()Get the history property: The history property.id()Get the id property: The id property.name()Get the name property: The name property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withEndpointId(String endpointId) Set the endpointId property: The endpointId property.withHistory(Boolean history) Set the history property: The history property.Set the id property: The id property.Set the name property: The name property.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ResourcesResponseCustomDomainsItem
public ResourcesResponseCustomDomainsItem()Creates an instance of ResourcesResponseCustomDomainsItem class.
-
-
Method Details
-
id
-
withId
Set the id property: The id property.- Parameters:
id- the id value to set.- Returns:
- the ResourcesResponseCustomDomainsItem object itself.
-
name
-
withName
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the ResourcesResponseCustomDomainsItem object itself.
-
endpointId
Get the endpointId property: The endpointId property.- Returns:
- the endpointId value.
-
withEndpointId
Set the endpointId property: The endpointId property.- Parameters:
endpointId- the endpointId value to set.- Returns:
- the ResourcesResponseCustomDomainsItem object itself.
-
history
Get the history property: The history property.- Returns:
- the history value.
-
withHistory
Set the history property: The history property.- Parameters:
history- the history value to set.- Returns:
- the ResourcesResponseCustomDomainsItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResourcesResponseCustomDomainsItem>- Throws:
IOException
-
fromJson
public static ResourcesResponseCustomDomainsItem fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-