com.pulumi.azure.iot.inputs.IotHubDeviceUpdateInstanceDiagnosticStorageAccountArgs 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.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 $;
}
}
}