
com.pulumi.azurenative.customerinsights.inputs.GetLinkArgs 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.customerinsights.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 GetLinkArgs extends com.pulumi.resources.InvokeArgs {
public static final GetLinkArgs Empty = new GetLinkArgs();
/**
* The name of the hub.
*
*/
@Import(name="hubName", required=true)
private Output hubName;
/**
* @return The name of the hub.
*
*/
public Output hubName() {
return this.hubName;
}
/**
* The name of the link.
*
*/
@Import(name="linkName", required=true)
private Output linkName;
/**
* @return The name of the link.
*
*/
public Output linkName() {
return this.linkName;
}
/**
* The name of the resource group.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetLinkArgs() {}
private GetLinkArgs(GetLinkArgs $) {
this.hubName = $.hubName;
this.linkName = $.linkName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLinkArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetLinkArgs $;
public Builder() {
$ = new GetLinkArgs();
}
public Builder(GetLinkArgs defaults) {
$ = new GetLinkArgs(Objects.requireNonNull(defaults));
}
/**
* @param hubName The name of the hub.
*
* @return builder
*
*/
public Builder hubName(Output hubName) {
$.hubName = hubName;
return this;
}
/**
* @param hubName The name of the hub.
*
* @return builder
*
*/
public Builder hubName(String hubName) {
return hubName(Output.of(hubName));
}
/**
* @param linkName The name of the link.
*
* @return builder
*
*/
public Builder linkName(Output linkName) {
$.linkName = linkName;
return this;
}
/**
* @param linkName The name of the link.
*
* @return builder
*
*/
public Builder linkName(String linkName) {
return linkName(Output.of(linkName));
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetLinkArgs build() {
if ($.hubName == null) {
throw new MissingRequiredPropertyException("GetLinkArgs", "hubName");
}
if ($.linkName == null) {
throw new MissingRequiredPropertyException("GetLinkArgs", "linkName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetLinkArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy