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