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; import com.fasterxml.jackson.annotation.JsonProperty;
The state of a private link service connection.
/** * The state of a private link service connection. */
public class PrivateLinkServiceConnectionState {
The private link service connection status. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'.
/** * The private link service connection status. Possible values include: * 'Pending', 'Approved', 'Rejected', 'Disconnected'. */
@JsonProperty(value = "status") private ConnectionStatus status;
The private link service connection description.
/** * The private link service connection description. */
@JsonProperty(value = "description") private String description;
Get the private link service connection status. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'.
Returns:the status value
/** * Get the private link service connection status. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'. * * @return the status value */
public ConnectionStatus status() { return this.status; }
Set the private link service connection status. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'.
Params:
  • status – the status value to set
Returns:the PrivateLinkServiceConnectionState object itself.
/** * Set the private link service connection status. Possible values include: 'Pending', 'Approved', 'Rejected', 'Disconnected'. * * @param status the status value to set * @return the PrivateLinkServiceConnectionState object itself. */
public PrivateLinkServiceConnectionState withStatus(ConnectionStatus status) { this.status = status; return this; }
Get the private link service connection description.
Returns:the description value
/** * Get the private link service connection description. * * @return the description value */
public String description() { return this.description; }
Set the private link service connection description.
Params:
  • description – the description value to set
Returns:the PrivateLinkServiceConnectionState object itself.
/** * Set the private link service connection description. * * @param description the description value to set * @return the PrivateLinkServiceConnectionState object itself. */
public PrivateLinkServiceConnectionState withDescription(String description) { this.description = description; return this; } }