
com.pulumi.azurenative.app.outputs.AppRegistrationResponse 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.app.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 AppRegistrationResponse {
/**
* @return The App ID of the app used for login.
*
*/
private @Nullable String appId;
/**
* @return The app setting name that contains the app secret.
*
*/
private @Nullable String appSecretSettingName;
private AppRegistrationResponse() {}
/**
* @return The App ID of the app used for login.
*
*/
public Optional appId() {
return Optional.ofNullable(this.appId);
}
/**
* @return The app setting name that contains the app secret.
*
*/
public Optional appSecretSettingName() {
return Optional.ofNullable(this.appSecretSettingName);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AppRegistrationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String appId;
private @Nullable String appSecretSettingName;
public Builder() {}
public Builder(AppRegistrationResponse defaults) {
Objects.requireNonNull(defaults);
this.appId = defaults.appId;
this.appSecretSettingName = defaults.appSecretSettingName;
}
@CustomType.Setter
public Builder appId(@Nullable String appId) {
this.appId = appId;
return this;
}
@CustomType.Setter
public Builder appSecretSettingName(@Nullable String appSecretSettingName) {
this.appSecretSettingName = appSecretSettingName;
return this;
}
public AppRegistrationResponse build() {
final var _resultValue = new AppRegistrationResponse();
_resultValue.appId = appId;
_resultValue.appSecretSettingName = appSecretSettingName;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy