com.pulumi.azurenative.hybridconnectivity.inputs.GetEndpointArgs 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.hybridconnectivity.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 GetEndpointArgs extends com.pulumi.resources.InvokeArgs {
public static final GetEndpointArgs Empty = new GetEndpointArgs();
/**
* The endpoint name.
*
*/
@Import(name="endpointName", required=true)
private Output endpointName;
/**
* @return The endpoint name.
*
*/
public Output endpointName() {
return this.endpointName;
}
/**
* The fully qualified Azure Resource manager identifier of the resource to be connected.
*
*/
@Import(name="resourceUri", required=true)
private Output resourceUri;
/**
* @return The fully qualified Azure Resource manager identifier of the resource to be connected.
*
*/
public Output resourceUri() {
return this.resourceUri;
}
private GetEndpointArgs() {}
private GetEndpointArgs(GetEndpointArgs $) {
this.endpointName = $.endpointName;
this.resourceUri = $.resourceUri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetEndpointArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetEndpointArgs $;
public Builder() {
$ = new GetEndpointArgs();
}
public Builder(GetEndpointArgs defaults) {
$ = new GetEndpointArgs(Objects.requireNonNull(defaults));
}
/**
* @param endpointName The endpoint name.
*
* @return builder
*
*/
public Builder endpointName(Output endpointName) {
$.endpointName = endpointName;
return this;
}
/**
* @param endpointName The endpoint name.
*
* @return builder
*
*/
public Builder endpointName(String endpointName) {
return endpointName(Output.of(endpointName));
}
/**
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
*
* @return builder
*
*/
public Builder resourceUri(Output resourceUri) {
$.resourceUri = resourceUri;
return this;
}
/**
* @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be connected.
*
* @return builder
*
*/
public Builder resourceUri(String resourceUri) {
return resourceUri(Output.of(resourceUri));
}
public GetEndpointArgs build() {
if ($.endpointName == null) {
throw new MissingRequiredPropertyException("GetEndpointArgs", "endpointName");
}
if ($.resourceUri == null) {
throw new MissingRequiredPropertyException("GetEndpointArgs", "resourceUri");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy