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