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

com.pulumi.aws.route53.outputs.RecordCidrRoutingPolicy 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.route53.outputs;

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

@CustomType
public final class RecordCidrRoutingPolicy {
    /**
     * @return The CIDR collection ID. See the `aws.route53.CidrCollection` resource for more details.
     * 
     */
    private String collectionId;
    /**
     * @return The CIDR collection location name. See the `aws.route53.CidrLocation` resource for more details. A `location_name` with an asterisk `"*"` can be used to create a default CIDR record. `collection_id` is still required for default record.
     * 
     */
    private String locationName;

    private RecordCidrRoutingPolicy() {}
    /**
     * @return The CIDR collection ID. See the `aws.route53.CidrCollection` resource for more details.
     * 
     */
    public String collectionId() {
        return this.collectionId;
    }
    /**
     * @return The CIDR collection location name. See the `aws.route53.CidrLocation` resource for more details. A `location_name` with an asterisk `"*"` can be used to create a default CIDR record. `collection_id` is still required for default record.
     * 
     */
    public String locationName() {
        return this.locationName;
    }

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

    public static Builder builder(RecordCidrRoutingPolicy defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String collectionId;
        private String locationName;
        public Builder() {}
        public Builder(RecordCidrRoutingPolicy defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.collectionId = defaults.collectionId;
    	      this.locationName = defaults.locationName;
        }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy