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

com.pulumi.azurenative.awsconnector.outputs.AwsNetworkFirewallRuleGroupPropertiesResponse 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.awsconnector.outputs;

import com.pulumi.azurenative.awsconnector.outputs.RuleGroupResponse;
import com.pulumi.azurenative.awsconnector.outputs.TagResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AwsNetworkFirewallRuleGroupPropertiesResponse {
    /**
     * @return Property capacity
     * 
     */
    private @Nullable Integer capacity;
    /**
     * @return Property description
     * 
     */
    private @Nullable String description;
    /**
     * @return Property ruleGroup
     * 
     */
    private @Nullable RuleGroupResponse ruleGroup;
    /**
     * @return A resource ARN.
     * 
     */
    private @Nullable String ruleGroupArn;
    /**
     * @return Property ruleGroupId
     * 
     */
    private @Nullable String ruleGroupId;
    /**
     * @return Property ruleGroupName
     * 
     */
    private @Nullable String ruleGroupName;
    /**
     * @return Property tags
     * 
     */
    private @Nullable List tags;
    /**
     * @return Property type
     * 
     */
    private @Nullable String type;

    private AwsNetworkFirewallRuleGroupPropertiesResponse() {}
    /**
     * @return Property capacity
     * 
     */
    public Optional capacity() {
        return Optional.ofNullable(this.capacity);
    }
    /**
     * @return Property description
     * 
     */
    public Optional description() {
        return Optional.ofNullable(this.description);
    }
    /**
     * @return Property ruleGroup
     * 
     */
    public Optional ruleGroup() {
        return Optional.ofNullable(this.ruleGroup);
    }
    /**
     * @return A resource ARN.
     * 
     */
    public Optional ruleGroupArn() {
        return Optional.ofNullable(this.ruleGroupArn);
    }
    /**
     * @return Property ruleGroupId
     * 
     */
    public Optional ruleGroupId() {
        return Optional.ofNullable(this.ruleGroupId);
    }
    /**
     * @return Property ruleGroupName
     * 
     */
    public Optional ruleGroupName() {
        return Optional.ofNullable(this.ruleGroupName);
    }
    /**
     * @return Property tags
     * 
     */
    public List tags() {
        return this.tags == null ? List.of() : this.tags;
    }
    /**
     * @return Property type
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(AwsNetworkFirewallRuleGroupPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer capacity;
        private @Nullable String description;
        private @Nullable RuleGroupResponse ruleGroup;
        private @Nullable String ruleGroupArn;
        private @Nullable String ruleGroupId;
        private @Nullable String ruleGroupName;
        private @Nullable List tags;
        private @Nullable String type;
        public Builder() {}
        public Builder(AwsNetworkFirewallRuleGroupPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.capacity = defaults.capacity;
    	      this.description = defaults.description;
    	      this.ruleGroup = defaults.ruleGroup;
    	      this.ruleGroupArn = defaults.ruleGroupArn;
    	      this.ruleGroupId = defaults.ruleGroupId;
    	      this.ruleGroupName = defaults.ruleGroupName;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder capacity(@Nullable Integer capacity) {

            this.capacity = capacity;
            return this;
        }
        @CustomType.Setter
        public Builder description(@Nullable String description) {

            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder ruleGroup(@Nullable RuleGroupResponse ruleGroup) {

            this.ruleGroup = ruleGroup;
            return this;
        }
        @CustomType.Setter
        public Builder ruleGroupArn(@Nullable String ruleGroupArn) {

            this.ruleGroupArn = ruleGroupArn;
            return this;
        }
        @CustomType.Setter
        public Builder ruleGroupId(@Nullable String ruleGroupId) {

            this.ruleGroupId = ruleGroupId;
            return this;
        }
        @CustomType.Setter
        public Builder ruleGroupName(@Nullable String ruleGroupName) {

            this.ruleGroupName = ruleGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable List tags) {

            this.tags = tags;
            return this;
        }
        public Builder tags(TagResponse... tags) {
            return tags(List.of(tags));
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        public AwsNetworkFirewallRuleGroupPropertiesResponse build() {
            final var _resultValue = new AwsNetworkFirewallRuleGroupPropertiesResponse();
            _resultValue.capacity = capacity;
            _resultValue.description = description;
            _resultValue.ruleGroup = ruleGroup;
            _resultValue.ruleGroupArn = ruleGroupArn;
            _resultValue.ruleGroupId = ruleGroupId;
            _resultValue.ruleGroupName = ruleGroupName;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy