com.pulumi.azurenative.documentdb.outputs.SqlDedicatedGatewayRegionalServiceResourceResponse 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.documentdb.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class SqlDedicatedGatewayRegionalServiceResourceResponse {
/**
* @return The location name.
*
*/
private String location;
/**
* @return The regional service name.
*
*/
private String name;
/**
* @return The regional endpoint for SqlDedicatedGateway.
*
*/
private String sqlDedicatedGatewayEndpoint;
/**
* @return Describes the status of a service.
*
*/
private String status;
private SqlDedicatedGatewayRegionalServiceResourceResponse() {}
/**
* @return The location name.
*
*/
public String location() {
return this.location;
}
/**
* @return The regional service name.
*
*/
public String name() {
return this.name;
}
/**
* @return The regional endpoint for SqlDedicatedGateway.
*
*/
public String sqlDedicatedGatewayEndpoint() {
return this.sqlDedicatedGatewayEndpoint;
}
/**
* @return Describes the status of a service.
*
*/
public String status() {
return this.status;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SqlDedicatedGatewayRegionalServiceResourceResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String location;
private String name;
private String sqlDedicatedGatewayEndpoint;
private String status;
public Builder() {}
public Builder(SqlDedicatedGatewayRegionalServiceResourceResponse defaults) {
Objects.requireNonNull(defaults);
this.location = defaults.location;
this.name = defaults.name;
this.sqlDedicatedGatewayEndpoint = defaults.sqlDedicatedGatewayEndpoint;
this.status = defaults.status;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("SqlDedicatedGatewayRegionalServiceResourceResponse", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("SqlDedicatedGatewayRegionalServiceResourceResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder sqlDedicatedGatewayEndpoint(String sqlDedicatedGatewayEndpoint) {
if (sqlDedicatedGatewayEndpoint == null) {
throw new MissingRequiredPropertyException("SqlDedicatedGatewayRegionalServiceResourceResponse", "sqlDedicatedGatewayEndpoint");
}
this.sqlDedicatedGatewayEndpoint = sqlDedicatedGatewayEndpoint;
return this;
}
@CustomType.Setter
public Builder status(String status) {
if (status == null) {
throw new MissingRequiredPropertyException("SqlDedicatedGatewayRegionalServiceResourceResponse", "status");
}
this.status = status;
return this;
}
public SqlDedicatedGatewayRegionalServiceResourceResponse build() {
final var _resultValue = new SqlDedicatedGatewayRegionalServiceResourceResponse();
_resultValue.location = location;
_resultValue.name = name;
_resultValue.sqlDedicatedGatewayEndpoint = sqlDedicatedGatewayEndpoint;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy