com.pulumi.azurenative.batch.inputs.KeyVaultReferenceArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.batch.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Identifies the Azure key vault associated with a Batch account.
*
*/
public final class KeyVaultReferenceArgs extends com.pulumi.resources.ResourceArgs {
public static final KeyVaultReferenceArgs Empty = new KeyVaultReferenceArgs();
/**
* The resource ID of the Azure key vault associated with the Batch account.
*
*/
@Import(name="id", required=true)
private Output id;
/**
* @return The resource ID of the Azure key vault associated with the Batch account.
*
*/
public Output id() {
return this.id;
}
/**
* The URL of the Azure key vault associated with the Batch account.
*
*/
@Import(name="url", required=true)
private Output url;
/**
* @return The URL of the Azure key vault associated with the Batch account.
*
*/
public Output url() {
return this.url;
}
private KeyVaultReferenceArgs() {}
private KeyVaultReferenceArgs(KeyVaultReferenceArgs $) {
this.id = $.id;
this.url = $.url;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KeyVaultReferenceArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private KeyVaultReferenceArgs $;
public Builder() {
$ = new KeyVaultReferenceArgs();
}
public Builder(KeyVaultReferenceArgs defaults) {
$ = new KeyVaultReferenceArgs(Objects.requireNonNull(defaults));
}
/**
* @param id The resource ID of the Azure key vault associated with the Batch account.
*
* @return builder
*
*/
public Builder id(Output id) {
$.id = id;
return this;
}
/**
* @param id The resource ID of the Azure key vault associated with the Batch account.
*
* @return builder
*
*/
public Builder id(String id) {
return id(Output.of(id));
}
/**
* @param url The URL of the Azure key vault associated with the Batch account.
*
* @return builder
*
*/
public Builder url(Output url) {
$.url = url;
return this;
}
/**
* @param url The URL of the Azure key vault associated with the Batch account.
*
* @return builder
*
*/
public Builder url(String url) {
return url(Output.of(url));
}
public KeyVaultReferenceArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("KeyVaultReferenceArgs", "id");
}
if ($.url == null) {
throw new MissingRequiredPropertyException("KeyVaultReferenceArgs", "url");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy