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.network; import java.util.List; import com.microsoft.azure.management.network.implementation.BastionShareableLinkInner; import com.fasterxml.jackson.annotation.JsonProperty;
Post request for all the Bastion Shareable Link endpoints.
/** * Post request for all the Bastion Shareable Link endpoints. */
public class BastionShareableLinkListRequest {
List of VM references.
/** * List of VM references. */
@JsonProperty(value = "vms") private List<BastionShareableLinkInner> vms;
Get list of VM references.
Returns:the vms value
/** * Get list of VM references. * * @return the vms value */
public List<BastionShareableLinkInner> vms() { return this.vms; }
Set list of VM references.
Params:
  • vms – the vms value to set
Returns:the BastionShareableLinkListRequest object itself.
/** * Set list of VM references. * * @param vms the vms value to set * @return the BastionShareableLinkListRequest object itself. */
public BastionShareableLinkListRequest withVms(List<BastionShareableLinkInner> vms) { this.vms = vms; return this; } }