com.pulumi.azurenative.azurearcdata.outputs.UploadServicePrincipalResponse 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.azurearcdata.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 UploadServicePrincipalResponse {
/**
* @return Authority for the service principal. Example: https://login.microsoftonline.com/
*
*/
private @Nullable String authority;
/**
* @return Client ID of the service principal for uploading data.
*
*/
private @Nullable String clientId;
/**
* @return Tenant ID of the service principal.
*
*/
private @Nullable String tenantId;
private UploadServicePrincipalResponse() {}
/**
* @return Authority for the service principal. Example: https://login.microsoftonline.com/
*
*/
public Optional authority() {
return Optional.ofNullable(this.authority);
}
/**
* @return Client ID of the service principal for uploading data.
*
*/
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
/**
* @return Tenant ID of the service principal.
*
*/
public Optional tenantId() {
return Optional.ofNullable(this.tenantId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UploadServicePrincipalResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String authority;
private @Nullable String clientId;
private @Nullable String tenantId;
public Builder() {}
public Builder(UploadServicePrincipalResponse defaults) {
Objects.requireNonNull(defaults);
this.authority = defaults.authority;
this.clientId = defaults.clientId;
this.tenantId = defaults.tenantId;
}
@CustomType.Setter
public Builder authority(@Nullable String authority) {
this.authority = authority;
return this;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder tenantId(@Nullable String tenantId) {
this.tenantId = tenantId;
return this;
}
public UploadServicePrincipalResponse build() {
final var _resultValue = new UploadServicePrincipalResponse();
_resultValue.authority = authority;
_resultValue.clientId = clientId;
_resultValue.tenantId = tenantId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy