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

com.pulumi.aws.appmesh.outputs.GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl 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.aws.appmesh.outputs;

import com.pulumi.aws.appmesh.outputs.GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlCertificate;
import com.pulumi.aws.appmesh.outputs.GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl {
    private List certificates;
    private Boolean enforce;
    private List ports;
    private List validations;

    private GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl() {}
    public List certificates() {
        return this.certificates;
    }
    public Boolean enforce() {
        return this.enforce;
    }
    public List ports() {
        return this.ports;
    }
    public List validations() {
        return this.validations;
    }

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

    public static Builder builder(GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List certificates;
        private Boolean enforce;
        private List ports;
        private List validations;
        public Builder() {}
        public Builder(GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.certificates = defaults.certificates;
    	      this.enforce = defaults.enforce;
    	      this.ports = defaults.ports;
    	      this.validations = defaults.validations;
        }

        @CustomType.Setter
        public Builder certificates(List certificates) {
            if (certificates == null) {
              throw new MissingRequiredPropertyException("GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl", "certificates");
            }
            this.certificates = certificates;
            return this;
        }
        public Builder certificates(GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlCertificate... certificates) {
            return certificates(List.of(certificates));
        }
        @CustomType.Setter
        public Builder enforce(Boolean enforce) {
            if (enforce == null) {
              throw new MissingRequiredPropertyException("GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl", "enforce");
            }
            this.enforce = enforce;
            return this;
        }
        @CustomType.Setter
        public Builder ports(List ports) {
            if (ports == null) {
              throw new MissingRequiredPropertyException("GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl", "ports");
            }
            this.ports = ports;
            return this;
        }
        public Builder ports(Integer... ports) {
            return ports(List.of(ports));
        }
        @CustomType.Setter
        public Builder validations(List validations) {
            if (validations == null) {
              throw new MissingRequiredPropertyException("GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl", "validations");
            }
            this.validations = validations;
            return this;
        }
        public Builder validations(GetVirtualNodeSpecBackendVirtualServiceClientPolicyTlValidation... validations) {
            return validations(List.of(validations));
        }
        public GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl build() {
            final var _resultValue = new GetVirtualNodeSpecBackendVirtualServiceClientPolicyTl();
            _resultValue.certificates = certificates;
            _resultValue.enforce = enforce;
            _resultValue.ports = ports;
            _resultValue.validations = validations;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy