com.pulumi.aws.appfabric.outputs.AppAuthorizationConnectionAuthRequest 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.
// *** 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.appfabric.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class AppAuthorizationConnectionAuthRequest {
/**
* @return The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL)..
*
*/
private String code;
/**
* @return The redirect URL that is specified in the AuthURL and the application client.
*
*/
private String redirectUri;
private AppAuthorizationConnectionAuthRequest() {}
/**
* @return The authorization code returned by the application after permission is granted in the application OAuth page (after clicking on the AuthURL)..
*
*/
public String code() {
return this.code;
}
/**
* @return The redirect URL that is specified in the AuthURL and the application client.
*
*/
public String redirectUri() {
return this.redirectUri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AppAuthorizationConnectionAuthRequest defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String code;
private String redirectUri;
public Builder() {}
public Builder(AppAuthorizationConnectionAuthRequest defaults) {
Objects.requireNonNull(defaults);
this.code = defaults.code;
this.redirectUri = defaults.redirectUri;
}
@CustomType.Setter
public Builder code(String code) {
if (code == null) {
throw new MissingRequiredPropertyException("AppAuthorizationConnectionAuthRequest", "code");
}
this.code = code;
return this;
}
@CustomType.Setter
public Builder redirectUri(String redirectUri) {
if (redirectUri == null) {
throw new MissingRequiredPropertyException("AppAuthorizationConnectionAuthRequest", "redirectUri");
}
this.redirectUri = redirectUri;
return this;
}
public AppAuthorizationConnectionAuthRequest build() {
final var _resultValue = new AppAuthorizationConnectionAuthRequest();
_resultValue.code = code;
_resultValue.redirectUri = redirectUri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy