
com.pulumi.azurenative.operationalinsights.outputs.StorageAccountResponse Maven / Gradle / Ivy
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class StorageAccountResponse {
/**
* @return The Azure Resource Manager ID of the storage account resource.
*
*/
private String id;
/**
* @return The storage account key.
*
*/
private String key;
private StorageAccountResponse() {}
/**
* @return The Azure Resource Manager ID of the storage account resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The storage account key.
*
*/
public String key() {
return this.key;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StorageAccountResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String key;
public Builder() {}
public Builder(StorageAccountResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.key = defaults.key;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("StorageAccountResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder key(String key) {
if (key == null) {
throw new MissingRequiredPropertyException("StorageAccountResponse", "key");
}
this.key = key;
return this;
}
public StorageAccountResponse build() {
final var _resultValue = new StorageAccountResponse();
_resultValue.id = id;
_resultValue.key = key;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy