com.pulumi.aws.batch.outputs.GetJobDefinitionEksPropertyPodPropertyContainerResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** 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.aws.batch.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetJobDefinitionEksPropertyPodPropertyContainerResource {
/**
* @return The type and quantity of the resources to reserve for the container.
*
*/
private Map limits;
/**
* @return The type and quantity of the resources to request for the container.
*
*/
private Map requests;
private GetJobDefinitionEksPropertyPodPropertyContainerResource() {}
/**
* @return The type and quantity of the resources to reserve for the container.
*
*/
public Map limits() {
return this.limits;
}
/**
* @return The type and quantity of the resources to request for the container.
*
*/
public Map requests() {
return this.requests;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetJobDefinitionEksPropertyPodPropertyContainerResource defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Map limits;
private Map requests;
public Builder() {}
public Builder(GetJobDefinitionEksPropertyPodPropertyContainerResource defaults) {
Objects.requireNonNull(defaults);
this.limits = defaults.limits;
this.requests = defaults.requests;
}
@CustomType.Setter
public Builder limits(Map limits) {
if (limits == null) {
throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerResource", "limits");
}
this.limits = limits;
return this;
}
@CustomType.Setter
public Builder requests(Map requests) {
if (requests == null) {
throw new MissingRequiredPropertyException("GetJobDefinitionEksPropertyPodPropertyContainerResource", "requests");
}
this.requests = requests;
return this;
}
public GetJobDefinitionEksPropertyPodPropertyContainerResource build() {
final var _resultValue = new GetJobDefinitionEksPropertyPodPropertyContainerResource();
_resultValue.limits = limits;
_resultValue.requests = requests;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy