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

com.pulumi.azurenative.containerservice.outputs.OpenShiftManagedClusterMasterPoolProfileResponse 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.containerservice.outputs;

import com.pulumi.azurenative.containerservice.outputs.OpenShiftAPIPropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class OpenShiftManagedClusterMasterPoolProfileResponse {
    /**
     * @return Defines further properties on the API.
     * 
     */
    private @Nullable OpenShiftAPIPropertiesResponse apiProperties;
    /**
     * @return Number of masters (VMs) to host docker containers. The default value is 3.
     * 
     */
    private Integer count;
    /**
     * @return Subnet CIDR for the peering.
     * 
     */
    private @Nullable String subnetCidr;
    /**
     * @return Size of agent VMs.
     * 
     */
    private String vmSize;

    private OpenShiftManagedClusterMasterPoolProfileResponse() {}
    /**
     * @return Defines further properties on the API.
     * 
     */
    public Optional apiProperties() {
        return Optional.ofNullable(this.apiProperties);
    }
    /**
     * @return Number of masters (VMs) to host docker containers. The default value is 3.
     * 
     */
    public Integer count() {
        return this.count;
    }
    /**
     * @return Subnet CIDR for the peering.
     * 
     */
    public Optional subnetCidr() {
        return Optional.ofNullable(this.subnetCidr);
    }
    /**
     * @return Size of agent VMs.
     * 
     */
    public String vmSize() {
        return this.vmSize;
    }

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

    public static Builder builder(OpenShiftManagedClusterMasterPoolProfileResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable OpenShiftAPIPropertiesResponse apiProperties;
        private Integer count;
        private @Nullable String subnetCidr;
        private String vmSize;
        public Builder() {}
        public Builder(OpenShiftManagedClusterMasterPoolProfileResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.apiProperties = defaults.apiProperties;
    	      this.count = defaults.count;
    	      this.subnetCidr = defaults.subnetCidr;
    	      this.vmSize = defaults.vmSize;
        }

        @CustomType.Setter
        public Builder apiProperties(@Nullable OpenShiftAPIPropertiesResponse apiProperties) {

            this.apiProperties = apiProperties;
            return this;
        }
        @CustomType.Setter
        public Builder count(Integer count) {
            if (count == null) {
              throw new MissingRequiredPropertyException("OpenShiftManagedClusterMasterPoolProfileResponse", "count");
            }
            this.count = count;
            return this;
        }
        @CustomType.Setter
        public Builder subnetCidr(@Nullable String subnetCidr) {

            this.subnetCidr = subnetCidr;
            return this;
        }
        @CustomType.Setter
        public Builder vmSize(String vmSize) {
            if (vmSize == null) {
              throw new MissingRequiredPropertyException("OpenShiftManagedClusterMasterPoolProfileResponse", "vmSize");
            }
            this.vmSize = vmSize;
            return this;
        }
        public OpenShiftManagedClusterMasterPoolProfileResponse build() {
            final var _resultValue = new OpenShiftManagedClusterMasterPoolProfileResponse();
            _resultValue.apiProperties = apiProperties;
            _resultValue.count = count;
            _resultValue.subnetCidr = subnetCidr;
            _resultValue.vmSize = vmSize;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy