com.pulumi.azurenative.eventgrid.inputs.GetClientArgs 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.eventgrid.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 GetClientArgs extends com.pulumi.resources.InvokeArgs {
public static final GetClientArgs Empty = new GetClientArgs();
/**
* Name of the client.
*
*/
@Import(name="clientName", required=true)
private Output clientName;
/**
* @return Name of the client.
*
*/
public Output clientName() {
return this.clientName;
}
/**
* Name of the namespace.
*
*/
@Import(name="namespaceName", required=true)
private Output namespaceName;
/**
* @return Name of the namespace.
*
*/
public Output namespaceName() {
return this.namespaceName;
}
/**
* The name of the resource group within the user's subscription.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group within the user's subscription.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetClientArgs() {}
private GetClientArgs(GetClientArgs $) {
this.clientName = $.clientName;
this.namespaceName = $.namespaceName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetClientArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetClientArgs $;
public Builder() {
$ = new GetClientArgs();
}
public Builder(GetClientArgs defaults) {
$ = new GetClientArgs(Objects.requireNonNull(defaults));
}
/**
* @param clientName Name of the client.
*
* @return builder
*
*/
public Builder clientName(Output clientName) {
$.clientName = clientName;
return this;
}
/**
* @param clientName Name of the client.
*
* @return builder
*
*/
public Builder clientName(String clientName) {
return clientName(Output.of(clientName));
}
/**
* @param namespaceName Name of the namespace.
*
* @return builder
*
*/
public Builder namespaceName(Output namespaceName) {
$.namespaceName = namespaceName;
return this;
}
/**
* @param namespaceName Name of the namespace.
*
* @return builder
*
*/
public Builder namespaceName(String namespaceName) {
return namespaceName(Output.of(namespaceName));
}
/**
* @param resourceGroupName The name of the resource group within the user's subscription.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group within the user's subscription.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetClientArgs build() {
if ($.clientName == null) {
throw new MissingRequiredPropertyException("GetClientArgs", "clientName");
}
if ($.namespaceName == null) {
throw new MissingRequiredPropertyException("GetClientArgs", "namespaceName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetClientArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy