
com.pulumi.azurenative.web.outputs.ConsentLinkDefinitionResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.web.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 ConsentLinkDefinitionResponse {
/**
* @return Display name of the parameter in the connection provider's OAuth settings
*
*/
private @Nullable String displayName;
/**
* @return URI for first party login
*
*/
private @Nullable String firstPartyLoginUri;
/**
* @return URI for the consent link
*
*/
private @Nullable String link;
/**
* @return Status of the link
*
*/
private @Nullable String status;
private ConsentLinkDefinitionResponse() {}
/**
* @return Display name of the parameter in the connection provider's OAuth settings
*
*/
public Optional displayName() {
return Optional.ofNullable(this.displayName);
}
/**
* @return URI for first party login
*
*/
public Optional firstPartyLoginUri() {
return Optional.ofNullable(this.firstPartyLoginUri);
}
/**
* @return URI for the consent link
*
*/
public Optional link() {
return Optional.ofNullable(this.link);
}
/**
* @return Status of the link
*
*/
public Optional status() {
return Optional.ofNullable(this.status);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ConsentLinkDefinitionResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String displayName;
private @Nullable String firstPartyLoginUri;
private @Nullable String link;
private @Nullable String status;
public Builder() {}
public Builder(ConsentLinkDefinitionResponse defaults) {
Objects.requireNonNull(defaults);
this.displayName = defaults.displayName;
this.firstPartyLoginUri = defaults.firstPartyLoginUri;
this.link = defaults.link;
this.status = defaults.status;
}
@CustomType.Setter
public Builder displayName(@Nullable String displayName) {
this.displayName = displayName;
return this;
}
@CustomType.Setter
public Builder firstPartyLoginUri(@Nullable String firstPartyLoginUri) {
this.firstPartyLoginUri = firstPartyLoginUri;
return this;
}
@CustomType.Setter
public Builder link(@Nullable String link) {
this.link = link;
return this;
}
@CustomType.Setter
public Builder status(@Nullable String status) {
this.status = status;
return this;
}
public ConsentLinkDefinitionResponse build() {
final var _resultValue = new ConsentLinkDefinitionResponse();
_resultValue.displayName = displayName;
_resultValue.firstPartyLoginUri = firstPartyLoginUri;
_resultValue.link = link;
_resultValue.status = status;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy