
com.pulumi.azurenative.sql.outputs.GetWorkloadClassifierResult Maven / Gradle / Ivy
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetWorkloadClassifierResult {
/**
* @return The workload classifier context.
*
*/
private @Nullable String context;
/**
* @return The workload classifier end time for classification.
*
*/
private @Nullable String endTime;
/**
* @return Resource ID.
*
*/
private String id;
/**
* @return The workload classifier importance.
*
*/
private @Nullable String importance;
/**
* @return The workload classifier label.
*
*/
private @Nullable String label;
/**
* @return The workload classifier member name.
*
*/
private String memberName;
/**
* @return Resource name.
*
*/
private String name;
/**
* @return The workload classifier start time for classification.
*
*/
private @Nullable String startTime;
/**
* @return Resource type.
*
*/
private String type;
private GetWorkloadClassifierResult() {}
/**
* @return The workload classifier context.
*
*/
public Optional context() {
return Optional.ofNullable(this.context);
}
/**
* @return The workload classifier end time for classification.
*
*/
public Optional endTime() {
return Optional.ofNullable(this.endTime);
}
/**
* @return Resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return The workload classifier importance.
*
*/
public Optional importance() {
return Optional.ofNullable(this.importance);
}
/**
* @return The workload classifier label.
*
*/
public Optional label() {
return Optional.ofNullable(this.label);
}
/**
* @return The workload classifier member name.
*
*/
public String memberName() {
return this.memberName;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return The workload classifier start time for classification.
*
*/
public Optional startTime() {
return Optional.ofNullable(this.startTime);
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWorkloadClassifierResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String context;
private @Nullable String endTime;
private String id;
private @Nullable String importance;
private @Nullable String label;
private String memberName;
private String name;
private @Nullable String startTime;
private String type;
public Builder() {}
public Builder(GetWorkloadClassifierResult defaults) {
Objects.requireNonNull(defaults);
this.context = defaults.context;
this.endTime = defaults.endTime;
this.id = defaults.id;
this.importance = defaults.importance;
this.label = defaults.label;
this.memberName = defaults.memberName;
this.name = defaults.name;
this.startTime = defaults.startTime;
this.type = defaults.type;
}
@CustomType.Setter
public Builder context(@Nullable String context) {
this.context = context;
return this;
}
@CustomType.Setter
public Builder endTime(@Nullable String endTime) {
this.endTime = endTime;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetWorkloadClassifierResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder importance(@Nullable String importance) {
this.importance = importance;
return this;
}
@CustomType.Setter
public Builder label(@Nullable String label) {
this.label = label;
return this;
}
@CustomType.Setter
public Builder memberName(String memberName) {
if (memberName == null) {
throw new MissingRequiredPropertyException("GetWorkloadClassifierResult", "memberName");
}
this.memberName = memberName;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWorkloadClassifierResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder startTime(@Nullable String startTime) {
this.startTime = startTime;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetWorkloadClassifierResult", "type");
}
this.type = type;
return this;
}
public GetWorkloadClassifierResult build() {
final var _resultValue = new GetWorkloadClassifierResult();
_resultValue.context = context;
_resultValue.endTime = endTime;
_resultValue.id = id;
_resultValue.importance = importance;
_resultValue.label = label;
_resultValue.memberName = memberName;
_resultValue.name = name;
_resultValue.startTime = startTime;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy