Class RemotePrivateEndpointConnectionWrapper
java.lang.Object
com.azure.resourcemanager.apimanagement.models.RemotePrivateEndpointConnectionWrapper
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RemotePrivateEndpointConnectionWrapper>
public final class RemotePrivateEndpointConnectionWrapper
extends Object
implements com.azure.json.JsonSerializable<RemotePrivateEndpointConnectionWrapper>
Remote Private Endpoint Connection resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RemotePrivateEndpointConnectionWrapper class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RemotePrivateEndpointConnectionWrapper from the JsonReader.groupIds()Get the groupIds property: All the Group ids.id()Get the id property: Private Endpoint connection resource id.name()Get the name property: Private Endpoint Connection Name.Get the privateEndpoint property: The resource of private end point.Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.Get the provisioningState property: The provisioning state of the private endpoint connection resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Private Endpoint Connection Resource Type.voidvalidate()Validates the instance.Set the id property: Private Endpoint connection resource id.Set the name property: Private Endpoint Connection Name.withPrivateEndpoint(ArmIdWrapper privateEndpoint) Set the privateEndpoint property: The resource of private end point.withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.Set the type property: Private Endpoint Connection Resource Type.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
-
RemotePrivateEndpointConnectionWrapper
public RemotePrivateEndpointConnectionWrapper()Creates an instance of RemotePrivateEndpointConnectionWrapper class.
-
-
Method Details
-
id
Get the id property: Private Endpoint connection resource id.- Returns:
- the id value.
-
withId
Set the id property: Private Endpoint connection resource id.- Parameters:
id- the id value to set.- Returns:
- the RemotePrivateEndpointConnectionWrapper object itself.
-
name
Get the name property: Private Endpoint Connection Name.- Returns:
- the name value.
-
withName
Set the name property: Private Endpoint Connection Name.- Parameters:
name- the name value to set.- Returns:
- the RemotePrivateEndpointConnectionWrapper object itself.
-
type
Get the type property: Private Endpoint Connection Resource Type.- Returns:
- the type value.
-
withType
Set the type property: Private Endpoint Connection Resource Type.- Parameters:
type- the type value to set.- Returns:
- the RemotePrivateEndpointConnectionWrapper object itself.
-
privateEndpoint
Get the privateEndpoint property: The resource of private end point.- Returns:
- the privateEndpoint value.
-
withPrivateEndpoint
Set the privateEndpoint property: The resource of private end point.- Parameters:
privateEndpoint- the privateEndpoint value to set.- Returns:
- the RemotePrivateEndpointConnectionWrapper object itself.
-
privateLinkServiceConnectionState
Get the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.- Returns:
- the privateLinkServiceConnectionState value.
-
withPrivateLinkServiceConnectionState
public RemotePrivateEndpointConnectionWrapper withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) Set the privateLinkServiceConnectionState property: A collection of information about the state of the connection between service consumer and provider.- Parameters:
privateLinkServiceConnectionState- the privateLinkServiceConnectionState value to set.- Returns:
- the RemotePrivateEndpointConnectionWrapper object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the private endpoint connection resource.- Returns:
- the provisioningState value.
-
groupIds
Get the groupIds property: All the Group ids.- Returns:
- the groupIds value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RemotePrivateEndpointConnectionWrapper>- Throws:
IOException
-
fromJson
public static RemotePrivateEndpointConnectionWrapper fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RemotePrivateEndpointConnectionWrapper from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RemotePrivateEndpointConnectionWrapper 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 RemotePrivateEndpointConnectionWrapper.
-