com.pulumi.azurenative.migrate.outputs.IdentityModelResponse 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.migrate.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 IdentityModelResponse {
/**
* @return Gets or sets the authority of the SPN with which MigrateAgent communicates to service.
*
*/
private @Nullable String aadAuthority;
/**
* @return Gets or sets the client/application Id of the SPN with which MigrateAgent communicates to
* service.
*
*/
private @Nullable String applicationId;
/**
* @return Gets or sets the audience of the SPN with which MigrateAgent communicates to service.
*
*/
private @Nullable String audience;
/**
* @return Gets or sets the object Id of the SPN with which MigrateAgent communicates to service.
*
*/
private @Nullable String objectId;
/**
* @return Gets or sets the tenant Id of the SPN with which MigrateAgent communicates to service.
*
*/
private @Nullable String tenantId;
private IdentityModelResponse() {}
/**
* @return Gets or sets the authority of the SPN with which MigrateAgent communicates to service.
*
*/
public Optional aadAuthority() {
return Optional.ofNullable(this.aadAuthority);
}
/**
* @return Gets or sets the client/application Id of the SPN with which MigrateAgent communicates to
* service.
*
*/
public Optional applicationId() {
return Optional.ofNullable(this.applicationId);
}
/**
* @return Gets or sets the audience of the SPN with which MigrateAgent communicates to service.
*
*/
public Optional audience() {
return Optional.ofNullable(this.audience);
}
/**
* @return Gets or sets the object Id of the SPN with which MigrateAgent communicates to service.
*
*/
public Optional objectId() {
return Optional.ofNullable(this.objectId);
}
/**
* @return Gets or sets the tenant Id of the SPN with which MigrateAgent communicates to service.
*
*/
public Optional tenantId() {
return Optional.ofNullable(this.tenantId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IdentityModelResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String aadAuthority;
private @Nullable String applicationId;
private @Nullable String audience;
private @Nullable String objectId;
private @Nullable String tenantId;
public Builder() {}
public Builder(IdentityModelResponse defaults) {
Objects.requireNonNull(defaults);
this.aadAuthority = defaults.aadAuthority;
this.applicationId = defaults.applicationId;
this.audience = defaults.audience;
this.objectId = defaults.objectId;
this.tenantId = defaults.tenantId;
}
@CustomType.Setter
public Builder aadAuthority(@Nullable String aadAuthority) {
this.aadAuthority = aadAuthority;
return this;
}
@CustomType.Setter
public Builder applicationId(@Nullable String applicationId) {
this.applicationId = applicationId;
return this;
}
@CustomType.Setter
public Builder audience(@Nullable String audience) {
this.audience = audience;
return this;
}
@CustomType.Setter
public Builder objectId(@Nullable String objectId) {
this.objectId = objectId;
return this;
}
@CustomType.Setter
public Builder tenantId(@Nullable String tenantId) {
this.tenantId = tenantId;
return this;
}
public IdentityModelResponse build() {
final var _resultValue = new IdentityModelResponse();
_resultValue.aadAuthority = aadAuthority;
_resultValue.applicationId = applicationId;
_resultValue.audience = audience;
_resultValue.objectId = objectId;
_resultValue.tenantId = tenantId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy