PrivateEndpointProperty Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. PrivateEndpointProperty
- com.
Implements
public final class PrivateEndpointProperty
implements JsonSerializable<PrivateEndpointProperty>
Private endpoint which the connection belongs to.
Constructor Summary
Constructor | Description |
---|---|
PrivateEndpointProperty() |
Creates an instance of Private |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
String |
id()
Get the id property: Resource id of the private endpoint. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Private |
withId(String id)
Set the id property: Resource id of the private endpoint. |
Methods inherited from java.lang.Object
Constructor Details
PrivateEndpointProperty
public PrivateEndpointProperty()
Creates an instance of PrivateEndpointProperty class.
Method Details
fromJson
public static PrivateEndpointProperty fromJson(JsonReader jsonReader)
Reads an instance of PrivateEndpointProperty from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource id of the private endpoint.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public PrivateEndpointProperty withId(String id)
Set the id property: Resource id of the private endpoint.
Parameters:
Returns:
Applies to
Azure SDK for Java