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.
/**
* 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.containerservice.implementation;
import com.microsoft.azure.management.containerservice.PrivateEndpointConnectionProvisioningState;
import com.microsoft.azure.management.containerservice.PrivateEndpoint;
import com.microsoft.azure.management.containerservice.PrivateLinkServiceConnectionState;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.ProxyResource;
A private endpoint connection.
/**
* A private endpoint connection.
*/
@JsonFlatten
public class PrivateEndpointConnectionInner extends ProxyResource {
The current provisioning state. Possible values include: 'Succeeded',
'Creating', 'Deleting', 'Failed'.
/**
* The current provisioning state. Possible values include: 'Succeeded',
* 'Creating', 'Deleting', 'Failed'.
*/
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private PrivateEndpointConnectionProvisioningState provisioningState;
The resource of private endpoint.
/**
* The resource of private endpoint.
*/
@JsonProperty(value = "properties.privateEndpoint")
private PrivateEndpoint privateEndpoint;
A collection of information about the state of the connection between
service consumer and provider.
/**
* A collection of information about the state of the connection between
* service consumer and provider.
*/
@JsonProperty(value = "properties.privateLinkServiceConnectionState", required = true)
private PrivateLinkServiceConnectionState privateLinkServiceConnectionState;
Get the current provisioning state. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'.
Returns: the provisioningState value
/**
* Get the current provisioning state. Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'.
*
* @return the provisioningState value
*/
public PrivateEndpointConnectionProvisioningState provisioningState() {
return this.provisioningState;
}
Get the resource of private endpoint.
Returns: the privateEndpoint value
/**
* Get the resource of private endpoint.
*
* @return the privateEndpoint value
*/
public PrivateEndpoint privateEndpoint() {
return this.privateEndpoint;
}
Set the resource of private endpoint.
Params: - privateEndpoint – the privateEndpoint value to set
Returns: the PrivateEndpointConnectionInner object itself.
/**
* Set the resource of private endpoint.
*
* @param privateEndpoint the privateEndpoint value to set
* @return the PrivateEndpointConnectionInner object itself.
*/
public PrivateEndpointConnectionInner withPrivateEndpoint(PrivateEndpoint privateEndpoint) {
this.privateEndpoint = privateEndpoint;
return this;
}
Get a collection of information about the state of the connection between service consumer and provider.
Returns: the privateLinkServiceConnectionState value
/**
* Get a collection of information about the state of the connection between service consumer and provider.
*
* @return the privateLinkServiceConnectionState value
*/
public PrivateLinkServiceConnectionState privateLinkServiceConnectionState() {
return this.privateLinkServiceConnectionState;
}
Set a collection of information about the state of the connection between service consumer and provider.
Params: - privateLinkServiceConnectionState – the privateLinkServiceConnectionState value to set
Returns: the PrivateEndpointConnectionInner object itself.
/**
* Set a collection of information about the state of the connection between service consumer and provider.
*
* @param privateLinkServiceConnectionState the privateLinkServiceConnectionState value to set
* @return the PrivateEndpointConnectionInner object itself.
*/
public PrivateEndpointConnectionInner withPrivateLinkServiceConnectionState(PrivateLinkServiceConnectionState privateLinkServiceConnectionState) {
this.privateLinkServiceConnectionState = privateLinkServiceConnectionState;
return this;
}
}