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

com.pulumi.aws.securityhub.outputs.AutomationRuleCriteriaSourceUrl Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.securityhub.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class AutomationRuleCriteriaSourceUrl {
    private String comparison;
    private String value;

    private AutomationRuleCriteriaSourceUrl() {}
    public String comparison() {
        return this.comparison;
    }
    public String value() {
        return this.value;
    }

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

    public static Builder builder(AutomationRuleCriteriaSourceUrl defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String comparison;
        private String value;
        public Builder() {}
        public Builder(AutomationRuleCriteriaSourceUrl defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.comparison = defaults.comparison;
    	      this.value = defaults.value;
        }

        @CustomType.Setter
        public Builder comparison(String comparison) {
            if (comparison == null) {
              throw new MissingRequiredPropertyException("AutomationRuleCriteriaSourceUrl", "comparison");
            }
            this.comparison = comparison;
            return this;
        }
        @CustomType.Setter
        public Builder value(String value) {
            if (value == null) {
              throw new MissingRequiredPropertyException("AutomationRuleCriteriaSourceUrl", "value");
            }
            this.value = value;
            return this;
        }
        public AutomationRuleCriteriaSourceUrl build() {
            final var _resultValue = new AutomationRuleCriteriaSourceUrl();
            _resultValue.comparison = comparison;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy