
com.pulumi.azurenative.datalakeanalytics.outputs.ComputePolicyResponse 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.datalakeanalytics.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ComputePolicyResponse {
/**
* @return The resource identifier.
*
*/
private String id;
/**
* @return The maximum degree of parallelism per job this user can use to submit jobs.
*
*/
private Integer maxDegreeOfParallelismPerJob;
/**
* @return The minimum priority per job this user can use to submit jobs.
*
*/
private Integer minPriorityPerJob;
/**
* @return The resource name.
*
*/
private String name;
/**
* @return The AAD object identifier for the entity to create a policy for.
*
*/
private String objectId;
/**
* @return The type of AAD object the object identifier refers to.
*
*/
private String objectType;
/**
* @return The resource type.
*
*/
private String type;
private ComputePolicyResponse() {}
/**
* @return The resource identifier.
*
*/
public String id() {
return this.id;
}
/**
* @return The maximum degree of parallelism per job this user can use to submit jobs.
*
*/
public Integer maxDegreeOfParallelismPerJob() {
return this.maxDegreeOfParallelismPerJob;
}
/**
* @return The minimum priority per job this user can use to submit jobs.
*
*/
public Integer minPriorityPerJob() {
return this.minPriorityPerJob;
}
/**
* @return The resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return The AAD object identifier for the entity to create a policy for.
*
*/
public String objectId() {
return this.objectId;
}
/**
* @return The type of AAD object the object identifier refers to.
*
*/
public String objectType() {
return this.objectType;
}
/**
* @return The resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ComputePolicyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private Integer maxDegreeOfParallelismPerJob;
private Integer minPriorityPerJob;
private String name;
private String objectId;
private String objectType;
private String type;
public Builder() {}
public Builder(ComputePolicyResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.maxDegreeOfParallelismPerJob = defaults.maxDegreeOfParallelismPerJob;
this.minPriorityPerJob = defaults.minPriorityPerJob;
this.name = defaults.name;
this.objectId = defaults.objectId;
this.objectType = defaults.objectType;
this.type = defaults.type;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("ComputePolicyResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder maxDegreeOfParallelismPerJob(Integer maxDegreeOfParallelismPerJob) {
if (maxDegreeOfParallelismPerJob == null) {
throw new MissingRequiredPropertyException("ComputePolicyResponse", "maxDegreeOfParallelismPerJob");
}
this.maxDegreeOfParallelismPerJob = maxDegreeOfParallelismPerJob;
return this;
}
@CustomType.Setter
public Builder minPriorityPerJob(Integer minPriorityPerJob) {
if (minPriorityPerJob == null) {
throw new MissingRequiredPropertyException("ComputePolicyResponse", "minPriorityPerJob");
}
this.minPriorityPerJob = minPriorityPerJob;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("ComputePolicyResponse", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder objectId(String objectId) {
if (objectId == null) {
throw new MissingRequiredPropertyException("ComputePolicyResponse", "objectId");
}
this.objectId = objectId;
return this;
}
@CustomType.Setter
public Builder objectType(String objectType) {
if (objectType == null) {
throw new MissingRequiredPropertyException("ComputePolicyResponse", "objectType");
}
this.objectType = objectType;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("ComputePolicyResponse", "type");
}
this.type = type;
return this;
}
public ComputePolicyResponse build() {
final var _resultValue = new ComputePolicyResponse();
_resultValue.id = id;
_resultValue.maxDegreeOfParallelismPerJob = maxDegreeOfParallelismPerJob;
_resultValue.minPriorityPerJob = minPriorityPerJob;
_resultValue.name = name;
_resultValue.objectId = objectId;
_resultValue.objectType = objectType;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy