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

com.pulumi.aws.appflow.inputs.ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSapoDataOauthCredentialsOauthRequestArgs 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.appflow.inputs;

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 ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSapoDataOauthCredentialsOauthRequestArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSapoDataOauthCredentialsOauthRequestArgs Empty = new ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSapoDataOauthCredentialsOauthRequestArgs();

    /**
     * The code provided by the connector when it has been authenticated via the connected app.
     * 
     */
    @Import(name="authCode")
    private @Nullable Output authCode;

    /**
     * @return The code provided by the connector when it has been authenticated via the connected app.
     * 
     */
    public Optional> authCode() {
        return Optional.ofNullable(this.authCode);
    }

    /**
     * The URL to which the authentication server redirects the browser after authorization has been granted.
     * 
     */
    @Import(name="redirectUri")
    private @Nullable Output redirectUri;

    /**
     * @return The URL to which the authentication server redirects the browser after authorization has been granted.
     * 
     */
    public Optional> redirectUri() {
        return Optional.ofNullable(this.redirectUri);
    }

    private ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSapoDataOauthCredentialsOauthRequestArgs() {}

    private ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSapoDataOauthCredentialsOauthRequestArgs(ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSapoDataOauthCredentialsOauthRequestArgs $) {
        this.authCode = $.authCode;
        this.redirectUri = $.redirectUri;
    }

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

    public static final class Builder {
        private ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSapoDataOauthCredentialsOauthRequestArgs $;

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

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

        /**
         * @param authCode The code provided by the connector when it has been authenticated via the connected app.
         * 
         * @return builder
         * 
         */
        public Builder authCode(@Nullable Output authCode) {
            $.authCode = authCode;
            return this;
        }

        /**
         * @param authCode The code provided by the connector when it has been authenticated via the connected app.
         * 
         * @return builder
         * 
         */
        public Builder authCode(String authCode) {
            return authCode(Output.of(authCode));
        }

        /**
         * @param redirectUri The URL to which the authentication server redirects the browser after authorization has been granted.
         * 
         * @return builder
         * 
         */
        public Builder redirectUri(@Nullable Output redirectUri) {
            $.redirectUri = redirectUri;
            return this;
        }

        /**
         * @param redirectUri The URL to which the authentication server redirects the browser after authorization has been granted.
         * 
         * @return builder
         * 
         */
        public Builder redirectUri(String redirectUri) {
            return redirectUri(Output.of(redirectUri));
        }

        public ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSapoDataOauthCredentialsOauthRequestArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy