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

com.pulumi.aws.imagebuilder.inputs.InfrastructureConfigurationInstanceMetadataOptionsArgs 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.aws.imagebuilder.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class InfrastructureConfigurationInstanceMetadataOptionsArgs extends com.pulumi.resources.ResourceArgs {

    public static final InfrastructureConfigurationInstanceMetadataOptionsArgs Empty = new InfrastructureConfigurationInstanceMetadataOptionsArgs();

    /**
     * The number of hops that an instance can traverse to reach its destonation.
     * 
     */
    @Import(name="httpPutResponseHopLimit")
    private @Nullable Output httpPutResponseHopLimit;

    /**
     * @return The number of hops that an instance can traverse to reach its destonation.
     * 
     */
    public Optional> httpPutResponseHopLimit() {
        return Optional.ofNullable(this.httpPutResponseHopLimit);
    }

    /**
     * Whether a signed token is required for instance metadata retrieval requests. Valid values: `required`, `optional`.
     * 
     */
    @Import(name="httpTokens")
    private @Nullable Output httpTokens;

    /**
     * @return Whether a signed token is required for instance metadata retrieval requests. Valid values: `required`, `optional`.
     * 
     */
    public Optional> httpTokens() {
        return Optional.ofNullable(this.httpTokens);
    }

    private InfrastructureConfigurationInstanceMetadataOptionsArgs() {}

    private InfrastructureConfigurationInstanceMetadataOptionsArgs(InfrastructureConfigurationInstanceMetadataOptionsArgs $) {
        this.httpPutResponseHopLimit = $.httpPutResponseHopLimit;
        this.httpTokens = $.httpTokens;
    }

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

    public static final class Builder {
        private InfrastructureConfigurationInstanceMetadataOptionsArgs $;

        public Builder() {
            $ = new InfrastructureConfigurationInstanceMetadataOptionsArgs();
        }

        public Builder(InfrastructureConfigurationInstanceMetadataOptionsArgs defaults) {
            $ = new InfrastructureConfigurationInstanceMetadataOptionsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param httpPutResponseHopLimit The number of hops that an instance can traverse to reach its destonation.
         * 
         * @return builder
         * 
         */
        public Builder httpPutResponseHopLimit(@Nullable Output httpPutResponseHopLimit) {
            $.httpPutResponseHopLimit = httpPutResponseHopLimit;
            return this;
        }

        /**
         * @param httpPutResponseHopLimit The number of hops that an instance can traverse to reach its destonation.
         * 
         * @return builder
         * 
         */
        public Builder httpPutResponseHopLimit(Integer httpPutResponseHopLimit) {
            return httpPutResponseHopLimit(Output.of(httpPutResponseHopLimit));
        }

        /**
         * @param httpTokens Whether a signed token is required for instance metadata retrieval requests. Valid values: `required`, `optional`.
         * 
         * @return builder
         * 
         */
        public Builder httpTokens(@Nullable Output httpTokens) {
            $.httpTokens = httpTokens;
            return this;
        }

        /**
         * @param httpTokens Whether a signed token is required for instance metadata retrieval requests. Valid values: `required`, `optional`.
         * 
         * @return builder
         * 
         */
        public Builder httpTokens(String httpTokens) {
            return httpTokens(Output.of(httpTokens));
        }

        public InfrastructureConfigurationInstanceMetadataOptionsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy