
com.pulumi.azurenative.providerhub.outputs.ProviderHubMetadataResponseThirdPartyProviderAuthorization Maven / Gradle / Ivy
// *** 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.providerhub.outputs;
import com.pulumi.azurenative.providerhub.outputs.LightHouseAuthorizationResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ProviderHubMetadataResponseThirdPartyProviderAuthorization {
private @Nullable List authorizations;
private @Nullable String managedByTenantId;
private ProviderHubMetadataResponseThirdPartyProviderAuthorization() {}
public List authorizations() {
return this.authorizations == null ? List.of() : this.authorizations;
}
public Optional managedByTenantId() {
return Optional.ofNullable(this.managedByTenantId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProviderHubMetadataResponseThirdPartyProviderAuthorization defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List authorizations;
private @Nullable String managedByTenantId;
public Builder() {}
public Builder(ProviderHubMetadataResponseThirdPartyProviderAuthorization defaults) {
Objects.requireNonNull(defaults);
this.authorizations = defaults.authorizations;
this.managedByTenantId = defaults.managedByTenantId;
}
@CustomType.Setter
public Builder authorizations(@Nullable List authorizations) {
this.authorizations = authorizations;
return this;
}
public Builder authorizations(LightHouseAuthorizationResponse... authorizations) {
return authorizations(List.of(authorizations));
}
@CustomType.Setter
public Builder managedByTenantId(@Nullable String managedByTenantId) {
this.managedByTenantId = managedByTenantId;
return this;
}
public ProviderHubMetadataResponseThirdPartyProviderAuthorization build() {
final var _resultValue = new ProviderHubMetadataResponseThirdPartyProviderAuthorization();
_resultValue.authorizations = authorizations;
_resultValue.managedByTenantId = managedByTenantId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy