com.pulumi.azurenative.digitaltwins.inputs.PrivateEndpointConnectionArgs 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.digitaltwins.inputs;
import com.pulumi.azurenative.digitaltwins.inputs.ConnectionPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
/**
* The private endpoint connection of a Digital Twin.
*
*/
public final class PrivateEndpointConnectionArgs extends com.pulumi.resources.ResourceArgs {
public static final PrivateEndpointConnectionArgs Empty = new PrivateEndpointConnectionArgs();
/**
* The connection properties.
*
*/
@Import(name="properties", required=true)
private Output properties;
/**
* @return The connection properties.
*
*/
public Output properties() {
return this.properties;
}
private PrivateEndpointConnectionArgs() {}
private PrivateEndpointConnectionArgs(PrivateEndpointConnectionArgs $) {
this.properties = $.properties;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(PrivateEndpointConnectionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private PrivateEndpointConnectionArgs $;
public Builder() {
$ = new PrivateEndpointConnectionArgs();
}
public Builder(PrivateEndpointConnectionArgs defaults) {
$ = new PrivateEndpointConnectionArgs(Objects.requireNonNull(defaults));
}
/**
* @param properties The connection properties.
*
* @return builder
*
*/
public Builder properties(Output properties) {
$.properties = properties;
return this;
}
/**
* @param properties The connection properties.
*
* @return builder
*
*/
public Builder properties(ConnectionPropertiesArgs properties) {
return properties(Output.of(properties));
}
public PrivateEndpointConnectionArgs build() {
if ($.properties == null) {
throw new MissingRequiredPropertyException("PrivateEndpointConnectionArgs", "properties");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy