
com.pulumi.azurenative.cache.inputs.GetLinkedServerPlainArgs 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.cache.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetLinkedServerPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetLinkedServerPlainArgs Empty = new GetLinkedServerPlainArgs();
/**
* The name of the linked server.
*
*/
@Import(name="linkedServerName", required=true)
private String linkedServerName;
/**
* @return The name of the linked server.
*
*/
public String linkedServerName() {
return this.linkedServerName;
}
/**
* The name of the redis cache.
*
*/
@Import(name="name", required=true)
private String name;
/**
* @return The name of the redis cache.
*
*/
public String name() {
return this.name;
}
/**
* The name of the resource group.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private GetLinkedServerPlainArgs() {}
private GetLinkedServerPlainArgs(GetLinkedServerPlainArgs $) {
this.linkedServerName = $.linkedServerName;
this.name = $.name;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLinkedServerPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetLinkedServerPlainArgs $;
public Builder() {
$ = new GetLinkedServerPlainArgs();
}
public Builder(GetLinkedServerPlainArgs defaults) {
$ = new GetLinkedServerPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param linkedServerName The name of the linked server.
*
* @return builder
*
*/
public Builder linkedServerName(String linkedServerName) {
$.linkedServerName = linkedServerName;
return this;
}
/**
* @param name The name of the redis cache.
*
* @return builder
*
*/
public Builder name(String name) {
$.name = name;
return this;
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetLinkedServerPlainArgs build() {
if ($.linkedServerName == null) {
throw new MissingRequiredPropertyException("GetLinkedServerPlainArgs", "linkedServerName");
}
if ($.name == null) {
throw new MissingRequiredPropertyException("GetLinkedServerPlainArgs", "name");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetLinkedServerPlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy