// *** 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.outputs;

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

@CustomType
public final class DataSourceHttpConfigAuthorizationConfigAwsIamConfig {
    /**
     * @return Signing Amazon Web Services Region for IAM authorization.
     * 
     */
    private @Nullable String signingRegion;
    /**
     * @return Signing service name for IAM authorization.
     * 
     */
    private @Nullable String signingServiceName;

    private DataSourceHttpConfigAuthorizationConfigAwsIamConfig() {}
    /**
     * @return Signing Amazon Web Services Region for IAM authorization.
     * 
     */
    public Optional<String> signingRegion() {
        return Optional.ofNullable(this.signingRegion);
    }
    /**
     * @return Signing service name for IAM authorization.
     * 
     */
    public Optional<String> signingServiceName() {
        return Optional.ofNullable(this.signingServiceName);
    }

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

    public static Builder builder(DataSourceHttpConfigAuthorizationConfigAwsIamConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String signingRegion;
        private @Nullable String signingServiceName;
        public Builder() {}
        public Builder(DataSourceHttpConfigAuthorizationConfigAwsIamConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.signingRegion = defaults.signingRegion;
    	      this.signingServiceName = defaults.signingServiceName;
        }

        @CustomType.Setter
        public Builder signingRegion(@Nullable String signingRegion) {
            this.signingRegion = signingRegion;
            return this;
        }
        @CustomType.Setter
        public Builder signingServiceName(@Nullable String signingServiceName) {
            this.signingServiceName = signingServiceName;
            return this;
        }
        public DataSourceHttpConfigAuthorizationConfigAwsIamConfig build() {
            final var o = new DataSourceHttpConfigAuthorizationConfigAwsIamConfig();
            o.signingRegion = signingRegion;
            o.signingServiceName = signingServiceName;
            return o;
        }
    }
}
