
com.pulumi.azurenative.security.outputs.OnPremiseSqlResourceDetailsResponse 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.security.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class OnPremiseSqlResourceDetailsResponse {
/**
* @return The Sql database name installed on the machine
*
*/
private String databaseName;
/**
* @return The name of the machine
*
*/
private String machineName;
/**
* @return The Sql server name installed on the machine
*
*/
private String serverName;
/**
* @return The platform where the assessed resource resides
* Expected value is 'OnPremiseSql'.
*
*/
private String source;
/**
* @return The oms agent Id installed on the machine
*
*/
private String sourceComputerId;
/**
* @return The unique Id of the machine
*
*/
private String vmuuid;
/**
* @return Azure resource Id of the workspace the machine is attached to
*
*/
private String workspaceId;
private OnPremiseSqlResourceDetailsResponse() {}
/**
* @return The Sql database name installed on the machine
*
*/
public String databaseName() {
return this.databaseName;
}
/**
* @return The name of the machine
*
*/
public String machineName() {
return this.machineName;
}
/**
* @return The Sql server name installed on the machine
*
*/
public String serverName() {
return this.serverName;
}
/**
* @return The platform where the assessed resource resides
* Expected value is 'OnPremiseSql'.
*
*/
public String source() {
return this.source;
}
/**
* @return The oms agent Id installed on the machine
*
*/
public String sourceComputerId() {
return this.sourceComputerId;
}
/**
* @return The unique Id of the machine
*
*/
public String vmuuid() {
return this.vmuuid;
}
/**
* @return Azure resource Id of the workspace the machine is attached to
*
*/
public String workspaceId() {
return this.workspaceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OnPremiseSqlResourceDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String databaseName;
private String machineName;
private String serverName;
private String source;
private String sourceComputerId;
private String vmuuid;
private String workspaceId;
public Builder() {}
public Builder(OnPremiseSqlResourceDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.databaseName = defaults.databaseName;
this.machineName = defaults.machineName;
this.serverName = defaults.serverName;
this.source = defaults.source;
this.sourceComputerId = defaults.sourceComputerId;
this.vmuuid = defaults.vmuuid;
this.workspaceId = defaults.workspaceId;
}
@CustomType.Setter
public Builder databaseName(String databaseName) {
if (databaseName == null) {
throw new MissingRequiredPropertyException("OnPremiseSqlResourceDetailsResponse", "databaseName");
}
this.databaseName = databaseName;
return this;
}
@CustomType.Setter
public Builder machineName(String machineName) {
if (machineName == null) {
throw new MissingRequiredPropertyException("OnPremiseSqlResourceDetailsResponse", "machineName");
}
this.machineName = machineName;
return this;
}
@CustomType.Setter
public Builder serverName(String serverName) {
if (serverName == null) {
throw new MissingRequiredPropertyException("OnPremiseSqlResourceDetailsResponse", "serverName");
}
this.serverName = serverName;
return this;
}
@CustomType.Setter
public Builder source(String source) {
if (source == null) {
throw new MissingRequiredPropertyException("OnPremiseSqlResourceDetailsResponse", "source");
}
this.source = source;
return this;
}
@CustomType.Setter
public Builder sourceComputerId(String sourceComputerId) {
if (sourceComputerId == null) {
throw new MissingRequiredPropertyException("OnPremiseSqlResourceDetailsResponse", "sourceComputerId");
}
this.sourceComputerId = sourceComputerId;
return this;
}
@CustomType.Setter
public Builder vmuuid(String vmuuid) {
if (vmuuid == null) {
throw new MissingRequiredPropertyException("OnPremiseSqlResourceDetailsResponse", "vmuuid");
}
this.vmuuid = vmuuid;
return this;
}
@CustomType.Setter
public Builder workspaceId(String workspaceId) {
if (workspaceId == null) {
throw new MissingRequiredPropertyException("OnPremiseSqlResourceDetailsResponse", "workspaceId");
}
this.workspaceId = workspaceId;
return this;
}
public OnPremiseSqlResourceDetailsResponse build() {
final var _resultValue = new OnPremiseSqlResourceDetailsResponse();
_resultValue.databaseName = databaseName;
_resultValue.machineName = machineName;
_resultValue.serverName = serverName;
_resultValue.source = source;
_resultValue.sourceComputerId = sourceComputerId;
_resultValue.vmuuid = vmuuid;
_resultValue.workspaceId = workspaceId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy