com.microsoft.azure.management.cosmosdb.implementation.PrivateEndpointConnectionInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-cosmosdb Show documentation
Show all versions of azure-mgmt-cosmosdb Show documentation
This package contains Microsoft Azure CosmosDB SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cosmosdb.implementation;
import com.microsoft.azure.management.cosmosdb.PrivateEndpointProperty;
import com.microsoft.azure.management.cosmosdb.PrivateLinkServiceConnectionStateProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.ProxyResource;
/**
* A private endpoint connection.
*/
@JsonFlatten
public class PrivateEndpointConnectionInner extends ProxyResource {
/**
* Private endpoint which the connection belongs to.
*/
@JsonProperty(value = "properties.privateEndpoint")
private PrivateEndpointProperty privateEndpoint;
/**
* Connection State of the Private Endpoint Connection.
*/
@JsonProperty(value = "properties.privateLinkServiceConnectionState")
private PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState;
/**
* Get private endpoint which the connection belongs to.
*
* @return the privateEndpoint value
*/
public PrivateEndpointProperty privateEndpoint() {
return this.privateEndpoint;
}
/**
* Set private endpoint which the connection belongs to.
*
* @param privateEndpoint the privateEndpoint value to set
* @return the PrivateEndpointConnectionInner object itself.
*/
public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpointProperty privateEndpoint) {
this.privateEndpoint = privateEndpoint;
return this;
}
/**
* Get connection State of the Private Endpoint Connection.
*
* @return the privateLinkServiceConnectionState value
*/
public PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState() {
return this.privateLinkServiceConnectionState;
}
/**
* Set connection State of the Private Endpoint Connection.
*
* @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set
* @return the PrivateEndpointConnectionInner object itself.
*/
public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState) {
this.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy