com.pulumi.azurenative.sqlvirtualmachine.outputs.SqlConnectivityUpdateSettingsResponse 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.sqlvirtualmachine.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SqlConnectivityUpdateSettingsResponse {
/**
* @return SQL Server connectivity option.
*
*/
private @Nullable String connectivityType;
/**
* @return SQL Server port.
*
*/
private @Nullable Integer port;
private SqlConnectivityUpdateSettingsResponse() {}
/**
* @return SQL Server connectivity option.
*
*/
public Optional connectivityType() {
return Optional.ofNullable(this.connectivityType);
}
/**
* @return SQL Server port.
*
*/
public Optional port() {
return Optional.ofNullable(this.port);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SqlConnectivityUpdateSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String connectivityType;
private @Nullable Integer port;
public Builder() {}
public Builder(SqlConnectivityUpdateSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.connectivityType = defaults.connectivityType;
this.port = defaults.port;
}
@CustomType.Setter
public Builder connectivityType(@Nullable String connectivityType) {
this.connectivityType = connectivityType;
return this;
}
@CustomType.Setter
public Builder port(@Nullable Integer port) {
this.port = port;
return this;
}
public SqlConnectivityUpdateSettingsResponse build() {
final var _resultValue = new SqlConnectivityUpdateSettingsResponse();
_resultValue.connectivityType = connectivityType;
_resultValue.port = port;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy