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.keyvault; import java.util.Map; import com.fasterxml.jackson.annotation.JsonProperty;
Parameters for creating or updating a vault.
/** * Parameters for creating or updating a vault. */
public class VaultCreateOrUpdateParameters {
The supported Azure location where the key vault should be created.
/** * The supported Azure location where the key vault should be created. */
@JsonProperty(value = "location", required = true) private String location;
The tags that will be assigned to the key vault.
/** * The tags that will be assigned to the key vault. */
@JsonProperty(value = "tags") private Map<String, String> tags;
Properties of the vault.
/** * Properties of the vault. */
@JsonProperty(value = "properties", required = true) private VaultProperties properties;
Get the location value.
Returns:the location value
/** * Get the location value. * * @return the location value */
public String location() { return this.location; }
Set the location value.
Params:
  • location – the location value to set
Returns:the VaultCreateOrUpdateParameters object itself.
/** * Set the location value. * * @param location the location value to set * @return the VaultCreateOrUpdateParameters object itself. */
public VaultCreateOrUpdateParameters withLocation(String location) { this.location = location; return this; }
Get the tags value.
Returns:the tags value
/** * Get the tags value. * * @return the tags value */
public Map<String, String> tags() { return this.tags; }
Set the tags value.
Params:
  • tags – the tags value to set
Returns:the VaultCreateOrUpdateParameters object itself.
/** * Set the tags value. * * @param tags the tags value to set * @return the VaultCreateOrUpdateParameters object itself. */
public VaultCreateOrUpdateParameters withTags(Map<String, String> tags) { this.tags = tags; return this; }
Get the properties value.
Returns:the properties value
/** * Get the properties value. * * @return the properties value */
public VaultProperties properties() { return this.properties; }
Set the properties value.
Params:
  • properties – the properties value to set
Returns:the VaultCreateOrUpdateParameters object itself.
/** * Set the properties value. * * @param properties the properties value to set * @return the VaultCreateOrUpdateParameters object itself. */
public VaultCreateOrUpdateParameters withProperties(VaultProperties properties) { this.properties = properties; return this; } }