com.pulumi.azurenative.azurearcdata.outputs.K8sSchedulingOptionsResponse 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.azurearcdata.outputs;
import com.pulumi.azurenative.azurearcdata.outputs.K8sResourceRequirementsResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class K8sSchedulingOptionsResponse {
/**
* @return The kubernetes resource limits and requests used to restrict or reserve resource usage.
*
*/
private @Nullable K8sResourceRequirementsResponse resources;
private K8sSchedulingOptionsResponse() {}
/**
* @return The kubernetes resource limits and requests used to restrict or reserve resource usage.
*
*/
public Optional resources() {
return Optional.ofNullable(this.resources);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(K8sSchedulingOptionsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable K8sResourceRequirementsResponse resources;
public Builder() {}
public Builder(K8sSchedulingOptionsResponse defaults) {
Objects.requireNonNull(defaults);
this.resources = defaults.resources;
}
@CustomType.Setter
public Builder resources(@Nullable K8sResourceRequirementsResponse resources) {
this.resources = resources;
return this;
}
public K8sSchedulingOptionsResponse build() {
final var _resultValue = new K8sSchedulingOptionsResponse();
_resultValue.resources = resources;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy