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

com.pulumi.azurenative.cdn.outputs.SslProtocolMatchConditionParametersResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.cdn.outputs;

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

@CustomType
public final class SslProtocolMatchConditionParametersResponse {
    /**
     * @return The match value for the condition of the delivery rule
     * 
     */
    private @Nullable List matchValues;
    /**
     * @return Describes if this is negate condition or not
     * 
     */
    private @Nullable Boolean negateCondition;
    /**
     * @return Describes operator to be matched
     * 
     */
    private String operator;
    /**
     * @return List of transforms
     * 
     */
    private @Nullable List transforms;
    private String typeName;

    private SslProtocolMatchConditionParametersResponse() {}
    /**
     * @return The match value for the condition of the delivery rule
     * 
     */
    public List matchValues() {
        return this.matchValues == null ? List.of() : this.matchValues;
    }
    /**
     * @return Describes if this is negate condition or not
     * 
     */
    public Optional negateCondition() {
        return Optional.ofNullable(this.negateCondition);
    }
    /**
     * @return Describes operator to be matched
     * 
     */
    public String operator() {
        return this.operator;
    }
    /**
     * @return List of transforms
     * 
     */
    public List transforms() {
        return this.transforms == null ? List.of() : this.transforms;
    }
    public String typeName() {
        return this.typeName;
    }

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

    public static Builder builder(SslProtocolMatchConditionParametersResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List matchValues;
        private @Nullable Boolean negateCondition;
        private String operator;
        private @Nullable List transforms;
        private String typeName;
        public Builder() {}
        public Builder(SslProtocolMatchConditionParametersResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.matchValues = defaults.matchValues;
    	      this.negateCondition = defaults.negateCondition;
    	      this.operator = defaults.operator;
    	      this.transforms = defaults.transforms;
    	      this.typeName = defaults.typeName;
        }

        @CustomType.Setter
        public Builder matchValues(@Nullable List matchValues) {

            this.matchValues = matchValues;
            return this;
        }
        public Builder matchValues(String... matchValues) {
            return matchValues(List.of(matchValues));
        }
        @CustomType.Setter
        public Builder negateCondition(@Nullable Boolean negateCondition) {

            this.negateCondition = negateCondition;
            return this;
        }
        @CustomType.Setter
        public Builder operator(String operator) {
            if (operator == null) {
              throw new MissingRequiredPropertyException("SslProtocolMatchConditionParametersResponse", "operator");
            }
            this.operator = operator;
            return this;
        }
        @CustomType.Setter
        public Builder transforms(@Nullable List transforms) {

            this.transforms = transforms;
            return this;
        }
        public Builder transforms(String... transforms) {
            return transforms(List.of(transforms));
        }
        @CustomType.Setter
        public Builder typeName(String typeName) {
            if (typeName == null) {
              throw new MissingRequiredPropertyException("SslProtocolMatchConditionParametersResponse", "typeName");
            }
            this.typeName = typeName;
            return this;
        }
        public SslProtocolMatchConditionParametersResponse build() {
            final var _resultValue = new SslProtocolMatchConditionParametersResponse();
            _resultValue.matchValues = matchValues;
            _resultValue.negateCondition = negateCondition;
            _resultValue.operator = operator;
            _resultValue.transforms = transforms;
            _resultValue.typeName = typeName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy