com.pulumi.azurenative.aadiam.outputs.GetPrivateLinkForAzureAdResult 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.aadiam.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPrivateLinkForAzureAdResult {
/**
* @return Flag indicating whether all tenants are allowed
*
*/
private @Nullable Boolean allTenants;
/**
* @return String Id used to locate any resource on Azure.
*
*/
private String id;
/**
* @return Name of this resource.
*
*/
private @Nullable String name;
/**
* @return Guid of the owner tenant
*
*/
private @Nullable String ownerTenantId;
/**
* @return Name of the resource group
*
*/
private @Nullable String resourceGroup;
/**
* @return Name of the private link policy resource
*
*/
private @Nullable String resourceName;
/**
* @return Subscription Identifier
*
*/
private @Nullable String subscriptionId;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The list of tenantIds.
*
*/
private @Nullable List tenants;
/**
* @return Type of this resource.
*
*/
private String type;
private GetPrivateLinkForAzureAdResult() {}
/**
* @return Flag indicating whether all tenants are allowed
*
*/
public Optional allTenants() {
return Optional.ofNullable(this.allTenants);
}
/**
* @return String Id used to locate any resource on Azure.
*
*/
public String id() {
return this.id;
}
/**
* @return Name of this resource.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Guid of the owner tenant
*
*/
public Optional ownerTenantId() {
return Optional.ofNullable(this.ownerTenantId);
}
/**
* @return Name of the resource group
*
*/
public Optional resourceGroup() {
return Optional.ofNullable(this.resourceGroup);
}
/**
* @return Name of the private link policy resource
*
*/
public Optional resourceName() {
return Optional.ofNullable(this.resourceName);
}
/**
* @return Subscription Identifier
*
*/
public Optional subscriptionId() {
return Optional.ofNullable(this.subscriptionId);
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The list of tenantIds.
*
*/
public List tenants() {
return this.tenants == null ? List.of() : this.tenants;
}
/**
* @return Type of this resource.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPrivateLinkForAzureAdResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean allTenants;
private String id;
private @Nullable String name;
private @Nullable String ownerTenantId;
private @Nullable String resourceGroup;
private @Nullable String resourceName;
private @Nullable String subscriptionId;
private @Nullable Map tags;
private @Nullable List tenants;
private String type;
public Builder() {}
public Builder(GetPrivateLinkForAzureAdResult defaults) {
Objects.requireNonNull(defaults);
this.allTenants = defaults.allTenants;
this.id = defaults.id;
this.name = defaults.name;
this.ownerTenantId = defaults.ownerTenantId;
this.resourceGroup = defaults.resourceGroup;
this.resourceName = defaults.resourceName;
this.subscriptionId = defaults.subscriptionId;
this.tags = defaults.tags;
this.tenants = defaults.tenants;
this.type = defaults.type;
}
@CustomType.Setter
public Builder allTenants(@Nullable Boolean allTenants) {
this.allTenants = allTenants;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetPrivateLinkForAzureAdResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder ownerTenantId(@Nullable String ownerTenantId) {
this.ownerTenantId = ownerTenantId;
return this;
}
@CustomType.Setter
public Builder resourceGroup(@Nullable String resourceGroup) {
this.resourceGroup = resourceGroup;
return this;
}
@CustomType.Setter
public Builder resourceName(@Nullable String resourceName) {
this.resourceName = resourceName;
return this;
}
@CustomType.Setter
public Builder subscriptionId(@Nullable String subscriptionId) {
this.subscriptionId = subscriptionId;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder tenants(@Nullable List tenants) {
this.tenants = tenants;
return this;
}
public Builder tenants(String... tenants) {
return tenants(List.of(tenants));
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetPrivateLinkForAzureAdResult", "type");
}
this.type = type;
return this;
}
public GetPrivateLinkForAzureAdResult build() {
final var _resultValue = new GetPrivateLinkForAzureAdResult();
_resultValue.allTenants = allTenants;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.ownerTenantId = ownerTenantId;
_resultValue.resourceGroup = resourceGroup;
_resultValue.resourceName = resourceName;
_resultValue.subscriptionId = subscriptionId;
_resultValue.tags = tags;
_resultValue.tenants = tenants;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy