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

com.pulumi.aws.ec2.outputs.GetLaunchTemplateMetadataOption Maven / Gradle / Ivy

Go to download

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

The 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.ec2.outputs;

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

@CustomType
public final class GetLaunchTemplateMetadataOption {
    private String httpEndpoint;
    private String httpProtocolIpv6;
    private Integer httpPutResponseHopLimit;
    private String httpTokens;
    private String instanceMetadataTags;

    private GetLaunchTemplateMetadataOption() {}
    public String httpEndpoint() {
        return this.httpEndpoint;
    }
    public String httpProtocolIpv6() {
        return this.httpProtocolIpv6;
    }
    public Integer httpPutResponseHopLimit() {
        return this.httpPutResponseHopLimit;
    }
    public String httpTokens() {
        return this.httpTokens;
    }
    public String instanceMetadataTags() {
        return this.instanceMetadataTags;
    }

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

    public static Builder builder(GetLaunchTemplateMetadataOption defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String httpEndpoint;
        private String httpProtocolIpv6;
        private Integer httpPutResponseHopLimit;
        private String httpTokens;
        private String instanceMetadataTags;
        public Builder() {}
        public Builder(GetLaunchTemplateMetadataOption defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.httpEndpoint = defaults.httpEndpoint;
    	      this.httpProtocolIpv6 = defaults.httpProtocolIpv6;
    	      this.httpPutResponseHopLimit = defaults.httpPutResponseHopLimit;
    	      this.httpTokens = defaults.httpTokens;
    	      this.instanceMetadataTags = defaults.instanceMetadataTags;
        }

        @CustomType.Setter
        public Builder httpEndpoint(String httpEndpoint) {
            if (httpEndpoint == null) {
              throw new MissingRequiredPropertyException("GetLaunchTemplateMetadataOption", "httpEndpoint");
            }
            this.httpEndpoint = httpEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder httpProtocolIpv6(String httpProtocolIpv6) {
            if (httpProtocolIpv6 == null) {
              throw new MissingRequiredPropertyException("GetLaunchTemplateMetadataOption", "httpProtocolIpv6");
            }
            this.httpProtocolIpv6 = httpProtocolIpv6;
            return this;
        }
        @CustomType.Setter
        public Builder httpPutResponseHopLimit(Integer httpPutResponseHopLimit) {
            if (httpPutResponseHopLimit == null) {
              throw new MissingRequiredPropertyException("GetLaunchTemplateMetadataOption", "httpPutResponseHopLimit");
            }
            this.httpPutResponseHopLimit = httpPutResponseHopLimit;
            return this;
        }
        @CustomType.Setter
        public Builder httpTokens(String httpTokens) {
            if (httpTokens == null) {
              throw new MissingRequiredPropertyException("GetLaunchTemplateMetadataOption", "httpTokens");
            }
            this.httpTokens = httpTokens;
            return this;
        }
        @CustomType.Setter
        public Builder instanceMetadataTags(String instanceMetadataTags) {
            if (instanceMetadataTags == null) {
              throw new MissingRequiredPropertyException("GetLaunchTemplateMetadataOption", "instanceMetadataTags");
            }
            this.instanceMetadataTags = instanceMetadataTags;
            return this;
        }
        public GetLaunchTemplateMetadataOption build() {
            final var _resultValue = new GetLaunchTemplateMetadataOption();
            _resultValue.httpEndpoint = httpEndpoint;
            _resultValue.httpProtocolIpv6 = httpProtocolIpv6;
            _resultValue.httpPutResponseHopLimit = httpPutResponseHopLimit;
            _resultValue.httpTokens = httpTokens;
            _resultValue.instanceMetadataTags = instanceMetadataTags;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy