com.pulumi.azurenative.security.outputs.GetWorkspaceSettingResult 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 GetWorkspaceSettingResult {
/**
* @return Resource Id
*
*/
private String id;
/**
* @return Resource name
*
*/
private String name;
/**
* @return All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope
*
*/
private String scope;
/**
* @return Resource type
*
*/
private String type;
/**
* @return The full Azure ID of the workspace to save the data in
*
*/
private String workspaceId;
private GetWorkspaceSettingResult() {}
/**
* @return Resource Id
*
*/
public String id() {
return this.id;
}
/**
* @return Resource name
*
*/
public String name() {
return this.name;
}
/**
* @return All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope
*
*/
public String scope() {
return this.scope;
}
/**
* @return Resource type
*
*/
public String type() {
return this.type;
}
/**
* @return The full Azure ID of the workspace to save the data in
*
*/
public String workspaceId() {
return this.workspaceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWorkspaceSettingResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String name;
private String scope;
private String type;
private String workspaceId;
public Builder() {}
public Builder(GetWorkspaceSettingResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.name = defaults.name;
this.scope = defaults.scope;
this.type = defaults.type;
this.workspaceId = defaults.workspaceId;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetWorkspaceSettingResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWorkspaceSettingResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder scope(String scope) {
if (scope == null) {
throw new MissingRequiredPropertyException("GetWorkspaceSettingResult", "scope");
}
this.scope = scope;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetWorkspaceSettingResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder workspaceId(String workspaceId) {
if (workspaceId == null) {
throw new MissingRequiredPropertyException("GetWorkspaceSettingResult", "workspaceId");
}
this.workspaceId = workspaceId;
return this;
}
public GetWorkspaceSettingResult build() {
final var _resultValue = new GetWorkspaceSettingResult();
_resultValue.id = id;
_resultValue.name = name;
_resultValue.scope = scope;
_resultValue.type = type;
_resultValue.workspaceId = workspaceId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy