All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.networkcloud.outputs.AgentOptionsResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show 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.azurenative.networkcloud.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AgentOptionsResponse {
    /**
     * @return The number of hugepages to allocate.
     * 
     */
    private Double hugepagesCount;
    /**
     * @return The size of the hugepages to allocate.
     * 
     */
    private @Nullable String hugepagesSize;

    private AgentOptionsResponse() {}
    /**
     * @return The number of hugepages to allocate.
     * 
     */
    public Double hugepagesCount() {
        return this.hugepagesCount;
    }
    /**
     * @return The size of the hugepages to allocate.
     * 
     */
    public Optional hugepagesSize() {
        return Optional.ofNullable(this.hugepagesSize);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(AgentOptionsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double hugepagesCount;
        private @Nullable String hugepagesSize;
        public Builder() {}
        public Builder(AgentOptionsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.hugepagesCount = defaults.hugepagesCount;
    	      this.hugepagesSize = defaults.hugepagesSize;
        }

        @CustomType.Setter
        public Builder hugepagesCount(Double hugepagesCount) {
            if (hugepagesCount == null) {
              throw new MissingRequiredPropertyException("AgentOptionsResponse", "hugepagesCount");
            }
            this.hugepagesCount = hugepagesCount;
            return this;
        }
        @CustomType.Setter
        public Builder hugepagesSize(@Nullable String hugepagesSize) {

            this.hugepagesSize = hugepagesSize;
            return this;
        }
        public AgentOptionsResponse build() {
            final var _resultValue = new AgentOptionsResponse();
            _resultValue.hugepagesCount = hugepagesCount;
            _resultValue.hugepagesSize = hugepagesSize;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy