com.pulumi.aws.appflow.outputs.ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlackOauthRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
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.appflow.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 ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlackOauthRequest {
/**
* @return The code provided by the connector when it has been authenticated via the connected app.
*
*/
private @Nullable String authCode;
/**
* @return The URL to which the authentication server redirects the browser after authorization has been granted.
*
*/
private @Nullable String redirectUri;
private ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlackOauthRequest() {}
/**
* @return The code provided by the connector when it has been authenticated via the connected app.
*
*/
public Optional authCode() {
return Optional.ofNullable(this.authCode);
}
/**
* @return The URL to which the authentication server redirects the browser after authorization has been granted.
*
*/
public Optional redirectUri() {
return Optional.ofNullable(this.redirectUri);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlackOauthRequest defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String authCode;
private @Nullable String redirectUri;
public Builder() {}
public Builder(ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlackOauthRequest defaults) {
Objects.requireNonNull(defaults);
this.authCode = defaults.authCode;
this.redirectUri = defaults.redirectUri;
}
@CustomType.Setter
public Builder authCode(@Nullable String authCode) {
this.authCode = authCode;
return this;
}
@CustomType.Setter
public Builder redirectUri(@Nullable String redirectUri) {
this.redirectUri = redirectUri;
return this;
}
public ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlackOauthRequest build() {
final var _resultValue = new ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSlackOauthRequest();
_resultValue.authCode = authCode;
_resultValue.redirectUri = redirectUri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy