EndpointResource Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. EndpointResource
- com.
Implements
public final class EndpointResource
implements JsonSerializable<EndpointResource>
Defines the ARM Resource ID for the linked endpoints.
Constructor Summary
| Constructor | Description |
|---|---|
| EndpointResource() |
Creates an instance of Endpoint |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Endpoint |
fromJson(JsonReader jsonReader)
Reads an instance of Endpoint |
| String |
id()
Get the id property: ARM Resource ID string. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Endpoint |
withId(String id)
Set the id property: ARM Resource ID string. |
Methods inherited from java.lang.Object
Constructor Details
EndpointResource
public EndpointResource()
Creates an instance of EndpointResource class.
Method Details
fromJson
public static EndpointResource fromJson(JsonReader jsonReader)
Reads an instance of EndpointResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: ARM Resource ID string.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public EndpointResource withId(String id)
Set the id property: ARM Resource ID string.
Parameters:
Returns: