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

com.pulumi.aws.appsync.inputs.DataSourceHttpConfigAuthorizationConfigArgs 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.appsync.inputs;

import com.pulumi.aws.appsync.inputs.DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DataSourceHttpConfigAuthorizationConfigArgs Empty = new DataSourceHttpConfigAuthorizationConfigArgs();

    /**
     * Authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.
     * 
     */
    @Import(name="authorizationType")
    private @Nullable Output authorizationType;

    /**
     * @return Authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.
     * 
     */
    public Optional> authorizationType() {
        return Optional.ofNullable(this.authorizationType);
    }

    /**
     * Identity and Access Management (IAM) settings. See `aws_iam_config` Block for details.
     * 
     */
    @Import(name="awsIamConfig")
    private @Nullable Output awsIamConfig;

    /**
     * @return Identity and Access Management (IAM) settings. See `aws_iam_config` Block for details.
     * 
     */
    public Optional> awsIamConfig() {
        return Optional.ofNullable(this.awsIamConfig);
    }

    private DataSourceHttpConfigAuthorizationConfigArgs() {}

    private DataSourceHttpConfigAuthorizationConfigArgs(DataSourceHttpConfigAuthorizationConfigArgs $) {
        this.authorizationType = $.authorizationType;
        this.awsIamConfig = $.awsIamConfig;
    }

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

    public static final class Builder {
        private DataSourceHttpConfigAuthorizationConfigArgs $;

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

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

        /**
         * @param authorizationType Authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.
         * 
         * @return builder
         * 
         */
        public Builder authorizationType(@Nullable Output authorizationType) {
            $.authorizationType = authorizationType;
            return this;
        }

        /**
         * @param authorizationType Authorization type that the HTTP endpoint requires. Default values is `AWS_IAM`.
         * 
         * @return builder
         * 
         */
        public Builder authorizationType(String authorizationType) {
            return authorizationType(Output.of(authorizationType));
        }

        /**
         * @param awsIamConfig Identity and Access Management (IAM) settings. See `aws_iam_config` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder awsIamConfig(@Nullable Output awsIamConfig) {
            $.awsIamConfig = awsIamConfig;
            return this;
        }

        /**
         * @param awsIamConfig Identity and Access Management (IAM) settings. See `aws_iam_config` Block for details.
         * 
         * @return builder
         * 
         */
        public Builder awsIamConfig(DataSourceHttpConfigAuthorizationConfigAwsIamConfigArgs awsIamConfig) {
            return awsIamConfig(Output.of(awsIamConfig));
        }

        public DataSourceHttpConfigAuthorizationConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy