
com.pulumi.azurenative.operationalinsights.inputs.StorageAccountArgs 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.operationalinsights.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;
/**
* Describes a storage account connection.
*
*/
public final class StorageAccountArgs extends com.pulumi.resources.ResourceArgs {
public static final StorageAccountArgs Empty = new StorageAccountArgs();
/**
* The Azure Resource Manager ID of the storage account resource.
*
*/
@Import(name="id", required=true)
private Output id;
/**
* @return The Azure Resource Manager ID of the storage account resource.
*
*/
public Output id() {
return this.id;
}
/**
* The storage account key.
*
*/
@Import(name="key", required=true)
private Output key;
/**
* @return The storage account key.
*
*/
public Output key() {
return this.key;
}
private StorageAccountArgs() {}
private StorageAccountArgs(StorageAccountArgs $) {
this.id = $.id;
this.key = $.key;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StorageAccountArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private StorageAccountArgs $;
public Builder() {
$ = new StorageAccountArgs();
}
public Builder(StorageAccountArgs defaults) {
$ = new StorageAccountArgs(Objects.requireNonNull(defaults));
}
/**
* @param id The Azure Resource Manager ID of the storage account resource.
*
* @return builder
*
*/
public Builder id(Output id) {
$.id = id;
return this;
}
/**
* @param id The Azure Resource Manager ID of the storage account resource.
*
* @return builder
*
*/
public Builder id(String id) {
return id(Output.of(id));
}
/**
* @param key The storage account key.
*
* @return builder
*
*/
public Builder key(Output key) {
$.key = key;
return this;
}
/**
* @param key The storage account key.
*
* @return builder
*
*/
public Builder key(String key) {
return key(Output.of(key));
}
public StorageAccountArgs build() {
if ($.id == null) {
throw new MissingRequiredPropertyException("StorageAccountArgs", "id");
}
if ($.key == null) {
throw new MissingRequiredPropertyException("StorageAccountArgs", "key");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy