Class ResourcesResponseInner
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.ResourcesResponseInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ResourcesResponseInner>
public final class ResourcesResponseInner
extends Object
implements com.azure.json.JsonSerializable<ResourcesResponseInner>
Resources Response.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ResourcesResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customDomains property: The customDomains property.Get the endpoints property: The endpoints property.static ResourcesResponseInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourcesResponseInner from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCustomDomains(List<ResourcesResponseCustomDomainsItem> customDomains) Set the customDomains property: The customDomains property.withEndpoints(List<ResourcesResponseEndpointsItem> endpoints) Set the endpoints property: The endpoints property.Methods inherited from class java.lang.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
-
ResourcesResponseInner
public ResourcesResponseInner()Creates an instance of ResourcesResponseInner class.
-
-
Method Details
-
endpoints
Get the endpoints property: The endpoints property.- Returns:
- the endpoints value.
-
withEndpoints
Set the endpoints property: The endpoints property.- Parameters:
endpoints- the endpoints value to set.- Returns:
- the ResourcesResponseInner object itself.
-
customDomains
Get the customDomains property: The customDomains property.- Returns:
- the customDomains value.
-
withCustomDomains
public ResourcesResponseInner withCustomDomains(List<ResourcesResponseCustomDomainsItem> customDomains) Set the customDomains property: The customDomains property.- Parameters:
customDomains- the customDomains value to set.- Returns:
- the ResourcesResponseInner 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<ResourcesResponseInner>- Throws:
IOException
-
fromJson
public static ResourcesResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-