
com.pulumi.azurenative.sql.inputs.GetInstanceFailoverGroupArgs 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.sql.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 GetInstanceFailoverGroupArgs extends com.pulumi.resources.InvokeArgs {
public static final GetInstanceFailoverGroupArgs Empty = new GetInstanceFailoverGroupArgs();
/**
* The name of the failover group.
*
*/
@Import(name="failoverGroupName", required=true)
private Output failoverGroupName;
/**
* @return The name of the failover group.
*
*/
public Output failoverGroupName() {
return this.failoverGroupName;
}
/**
* The name of the region where the resource is located.
*
*/
@Import(name="locationName", required=true)
private Output locationName;
/**
* @return The name of the region where the resource is located.
*
*/
public Output locationName() {
return this.locationName;
}
/**
* The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetInstanceFailoverGroupArgs() {}
private GetInstanceFailoverGroupArgs(GetInstanceFailoverGroupArgs $) {
this.failoverGroupName = $.failoverGroupName;
this.locationName = $.locationName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetInstanceFailoverGroupArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetInstanceFailoverGroupArgs $;
public Builder() {
$ = new GetInstanceFailoverGroupArgs();
}
public Builder(GetInstanceFailoverGroupArgs defaults) {
$ = new GetInstanceFailoverGroupArgs(Objects.requireNonNull(defaults));
}
/**
* @param failoverGroupName The name of the failover group.
*
* @return builder
*
*/
public Builder failoverGroupName(Output failoverGroupName) {
$.failoverGroupName = failoverGroupName;
return this;
}
/**
* @param failoverGroupName The name of the failover group.
*
* @return builder
*
*/
public Builder failoverGroupName(String failoverGroupName) {
return failoverGroupName(Output.of(failoverGroupName));
}
/**
* @param locationName The name of the region where the resource is located.
*
* @return builder
*
*/
public Builder locationName(Output locationName) {
$.locationName = locationName;
return this;
}
/**
* @param locationName The name of the region where the resource is located.
*
* @return builder
*
*/
public Builder locationName(String locationName) {
return locationName(Output.of(locationName));
}
/**
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetInstanceFailoverGroupArgs build() {
if ($.failoverGroupName == null) {
throw new MissingRequiredPropertyException("GetInstanceFailoverGroupArgs", "failoverGroupName");
}
if ($.locationName == null) {
throw new MissingRequiredPropertyException("GetInstanceFailoverGroupArgs", "locationName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetInstanceFailoverGroupArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy