
com.pulumi.azurenative.servicelinker.inputs.GetConnectorPlainArgs 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.servicelinker.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetConnectorPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetConnectorPlainArgs Empty = new GetConnectorPlainArgs();
/**
* The name of resource.
*
*/
@Import(name="connectorName", required=true)
private String connectorName;
/**
* @return The name of resource.
*
*/
public String connectorName() {
return this.connectorName;
}
/**
* The name of Azure region.
*
*/
@Import(name="location", required=true)
private String location;
/**
* @return The name of Azure region.
*
*/
public String location() {
return this.location;
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The ID of the target subscription.
*
*/
@Import(name="subscriptionId")
private @Nullable String subscriptionId;
/**
* @return The ID of the target subscription.
*
*/
public Optional subscriptionId() {
return Optional.ofNullable(this.subscriptionId);
}
private GetConnectorPlainArgs() {}
private GetConnectorPlainArgs(GetConnectorPlainArgs $) {
this.connectorName = $.connectorName;
this.location = $.location;
this.resourceGroupName = $.resourceGroupName;
this.subscriptionId = $.subscriptionId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetConnectorPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetConnectorPlainArgs $;
public Builder() {
$ = new GetConnectorPlainArgs();
}
public Builder(GetConnectorPlainArgs defaults) {
$ = new GetConnectorPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param connectorName The name of resource.
*
* @return builder
*
*/
public Builder connectorName(String connectorName) {
$.connectorName = connectorName;
return this;
}
/**
* @param location The name of Azure region.
*
* @return builder
*
*/
public Builder location(String location) {
$.location = location;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param subscriptionId The ID of the target subscription.
*
* @return builder
*
*/
public Builder subscriptionId(@Nullable String subscriptionId) {
$.subscriptionId = subscriptionId;
return this;
}
public GetConnectorPlainArgs build() {
if ($.connectorName == null) {
throw new MissingRequiredPropertyException("GetConnectorPlainArgs", "connectorName");
}
if ($.location == null) {
throw new MissingRequiredPropertyException("GetConnectorPlainArgs", "location");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetConnectorPlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy