com.pulumi.azure.iot.inputs.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.iot.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;
public final class IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs extends com.pulumi.resources.ResourceArgs {
public static final IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs Empty = new IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs();
/**
* Connection String of the Diagnostic Storage Account.
*
*/
@Import(name="connectionString", required=true)
private Output connectionString;
/**
* @return Connection String of the Diagnostic Storage Account.
*
*/
public Output connectionString() {
return this.connectionString;
}
/**
* Resource ID of the Diagnostic Storage Account.
*
*/
@Import(name="id", required=true)
private Output id;
/**
* @return Resource ID of the Diagnostic Storage Account.
*
*/
public Output id() {
return this.id;
}
private IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs() {}
private IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs(IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs $) {
this.connectionString = $.connectionString;
this.id = $.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs $;
public Builder() {
$ = new IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs();
}
public Builder(IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs defaults) {
$ = new IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs(Objects.requireNonNull(defaults));
}
/**
* @param connectionString Connection String of the Diagnostic Storage Account.
*
* @return builder
*
*/
public Builder connectionString(Output connectionString) {
$.connectionString = connectionString;
return this;
}
/**
* @param connectionString Connection String of the Diagnostic Storage Account.
*
* @return builder
*
*/
public Builder connectionString(String connectionString) {
return connectionString(Output.of(connectionString));
}
/**
* @param id Resource ID of the Diagnostic Storage Account.
*
* @return builder
*
*/
public Builder id(Output id) {
$.id = id;
return this;
}
/**
* @param id Resource ID of the Diagnostic Storage Account.
*
* @return builder
*
*/
public Builder id(String id) {
return id(Output.of(id));
}
public IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs build() {
if ($.connectionString == null) {
throw new MissingRequiredPropertyException("IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs", "connectionString");
}
if ($.id == null) {
throw new MissingRequiredPropertyException("IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs", "id");
}
return $;
}
}
}