
com.pulumi.azurenative.impact.outputs.WorkloadResponse 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.impact.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class WorkloadResponse {
/**
* @return the scenario for the workload
*
*/
private @Nullable String context;
/**
* @return Tool used to interact with Azure. SDK, AzPortal, etc.., Other
*
*/
private @Nullable String toolset;
private WorkloadResponse() {}
/**
* @return the scenario for the workload
*
*/
public Optional context() {
return Optional.ofNullable(this.context);
}
/**
* @return Tool used to interact with Azure. SDK, AzPortal, etc.., Other
*
*/
public Optional toolset() {
return Optional.ofNullable(this.toolset);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkloadResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String context;
private @Nullable String toolset;
public Builder() {}
public Builder(WorkloadResponse defaults) {
Objects.requireNonNull(defaults);
this.context = defaults.context;
this.toolset = defaults.toolset;
}
@CustomType.Setter
public Builder context(@Nullable String context) {
this.context = context;
return this;
}
@CustomType.Setter
public Builder toolset(@Nullable String toolset) {
this.toolset = toolset;
return this;
}
public WorkloadResponse build() {
final var _resultValue = new WorkloadResponse();
_resultValue.context = context;
_resultValue.toolset = toolset;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy