
com.pulumi.azurenative.purview.outputs.GetAccountResult 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.purview.outputs;
import com.pulumi.azurenative.purview.outputs.AccountPropertiesResponseAccountStatus;
import com.pulumi.azurenative.purview.outputs.AccountPropertiesResponseEndpoints;
import com.pulumi.azurenative.purview.outputs.AccountPropertiesResponseManagedResources;
import com.pulumi.azurenative.purview.outputs.AccountResponseSku;
import com.pulumi.azurenative.purview.outputs.CloudConnectorsResponse;
import com.pulumi.azurenative.purview.outputs.IdentityResponse;
import com.pulumi.azurenative.purview.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.purview.outputs.TrackedResourceResponseSystemData;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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 GetAccountResult {
/**
* @return Gets or sets the status of the account.
*
*/
private AccountPropertiesResponseAccountStatus accountStatus;
/**
* @return Cloud connectors.
* External cloud identifier used as part of scanning configuration.
*
*/
private @Nullable CloudConnectorsResponse cloudConnectors;
/**
* @return Gets the time at which the entity was created.
*
*/
private String createdAt;
/**
* @return Gets the creator of the entity.
*
*/
private String createdBy;
/**
* @return Gets the creators of the entity's object id.
*
*/
private String createdByObjectId;
/**
* @return The URIs that are the public endpoints of the account.
*
*/
private AccountPropertiesResponseEndpoints endpoints;
/**
* @return Gets or sets the friendly name.
*
*/
private String friendlyName;
/**
* @return Gets or sets the identifier.
*
*/
private String id;
/**
* @return Identity Info on the tracked resource
*
*/
private @Nullable IdentityResponse identity;
/**
* @return Gets or sets the location.
*
*/
private @Nullable String location;
/**
* @return Gets or sets the state of managed eventhub. If enabled managed eventhub will be created, if disabled the managed eventhub will be removed.
*
*/
private @Nullable String managedEventHubState;
/**
* @return Gets or sets the managed resource group name
*
*/
private @Nullable String managedResourceGroupName;
/**
* @return Gets the resource identifiers of the managed resources.
*
*/
private AccountPropertiesResponseManagedResources managedResources;
/**
* @return Gets or sets the public network access for managed resources.
*
*/
private @Nullable String managedResourcesPublicNetworkAccess;
/**
* @return Gets or sets the name.
*
*/
private String name;
/**
* @return Gets the private endpoint connections information.
*
*/
private List privateEndpointConnections;
/**
* @return Gets or sets the state of the provisioning.
*
*/
private String provisioningState;
/**
* @return Gets or sets the public network access.
*
*/
private @Nullable String publicNetworkAccess;
/**
* @return Gets or sets the Sku.
*
*/
private AccountResponseSku sku;
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
private TrackedResourceResponseSystemData systemData;
/**
* @return Tags on the azure resource.
*
*/
private @Nullable Map tags;
/**
* @return Gets or sets the type.
*
*/
private String type;
private GetAccountResult() {}
/**
* @return Gets or sets the status of the account.
*
*/
public AccountPropertiesResponseAccountStatus accountStatus() {
return this.accountStatus;
}
/**
* @return Cloud connectors.
* External cloud identifier used as part of scanning configuration.
*
*/
public Optional cloudConnectors() {
return Optional.ofNullable(this.cloudConnectors);
}
/**
* @return Gets the time at which the entity was created.
*
*/
public String createdAt() {
return this.createdAt;
}
/**
* @return Gets the creator of the entity.
*
*/
public String createdBy() {
return this.createdBy;
}
/**
* @return Gets the creators of the entity's object id.
*
*/
public String createdByObjectId() {
return this.createdByObjectId;
}
/**
* @return The URIs that are the public endpoints of the account.
*
*/
public AccountPropertiesResponseEndpoints endpoints() {
return this.endpoints;
}
/**
* @return Gets or sets the friendly name.
*
*/
public String friendlyName() {
return this.friendlyName;
}
/**
* @return Gets or sets the identifier.
*
*/
public String id() {
return this.id;
}
/**
* @return Identity Info on the tracked resource
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return Gets or sets the location.
*
*/
public Optional location() {
return Optional.ofNullable(this.location);
}
/**
* @return Gets or sets the state of managed eventhub. If enabled managed eventhub will be created, if disabled the managed eventhub will be removed.
*
*/
public Optional managedEventHubState() {
return Optional.ofNullable(this.managedEventHubState);
}
/**
* @return Gets or sets the managed resource group name
*
*/
public Optional managedResourceGroupName() {
return Optional.ofNullable(this.managedResourceGroupName);
}
/**
* @return Gets the resource identifiers of the managed resources.
*
*/
public AccountPropertiesResponseManagedResources managedResources() {
return this.managedResources;
}
/**
* @return Gets or sets the public network access for managed resources.
*
*/
public Optional managedResourcesPublicNetworkAccess() {
return Optional.ofNullable(this.managedResourcesPublicNetworkAccess);
}
/**
* @return Gets or sets the name.
*
*/
public String name() {
return this.name;
}
/**
* @return Gets the private endpoint connections information.
*
*/
public List privateEndpointConnections() {
return this.privateEndpointConnections;
}
/**
* @return Gets or sets the state of the provisioning.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Gets or sets the public network access.
*
*/
public Optional publicNetworkAccess() {
return Optional.ofNullable(this.publicNetworkAccess);
}
/**
* @return Gets or sets the Sku.
*
*/
public AccountResponseSku sku() {
return this.sku;
}
/**
* @return Metadata pertaining to creation and last modification of the resource.
*
*/
public TrackedResourceResponseSystemData systemData() {
return this.systemData;
}
/**
* @return Tags on the azure resource.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Gets or sets the type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAccountResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private AccountPropertiesResponseAccountStatus accountStatus;
private @Nullable CloudConnectorsResponse cloudConnectors;
private String createdAt;
private String createdBy;
private String createdByObjectId;
private AccountPropertiesResponseEndpoints endpoints;
private String friendlyName;
private String id;
private @Nullable IdentityResponse identity;
private @Nullable String location;
private @Nullable String managedEventHubState;
private @Nullable String managedResourceGroupName;
private AccountPropertiesResponseManagedResources managedResources;
private @Nullable String managedResourcesPublicNetworkAccess;
private String name;
private List privateEndpointConnections;
private String provisioningState;
private @Nullable String publicNetworkAccess;
private AccountResponseSku sku;
private TrackedResourceResponseSystemData systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetAccountResult defaults) {
Objects.requireNonNull(defaults);
this.accountStatus = defaults.accountStatus;
this.cloudConnectors = defaults.cloudConnectors;
this.createdAt = defaults.createdAt;
this.createdBy = defaults.createdBy;
this.createdByObjectId = defaults.createdByObjectId;
this.endpoints = defaults.endpoints;
this.friendlyName = defaults.friendlyName;
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
this.managedEventHubState = defaults.managedEventHubState;
this.managedResourceGroupName = defaults.managedResourceGroupName;
this.managedResources = defaults.managedResources;
this.managedResourcesPublicNetworkAccess = defaults.managedResourcesPublicNetworkAccess;
this.name = defaults.name;
this.privateEndpointConnections = defaults.privateEndpointConnections;
this.provisioningState = defaults.provisioningState;
this.publicNetworkAccess = defaults.publicNetworkAccess;
this.sku = defaults.sku;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder accountStatus(AccountPropertiesResponseAccountStatus accountStatus) {
if (accountStatus == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "accountStatus");
}
this.accountStatus = accountStatus;
return this;
}
@CustomType.Setter
public Builder cloudConnectors(@Nullable CloudConnectorsResponse cloudConnectors) {
this.cloudConnectors = cloudConnectors;
return this;
}
@CustomType.Setter
public Builder createdAt(String createdAt) {
if (createdAt == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "createdAt");
}
this.createdAt = createdAt;
return this;
}
@CustomType.Setter
public Builder createdBy(String createdBy) {
if (createdBy == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "createdBy");
}
this.createdBy = createdBy;
return this;
}
@CustomType.Setter
public Builder createdByObjectId(String createdByObjectId) {
if (createdByObjectId == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "createdByObjectId");
}
this.createdByObjectId = createdByObjectId;
return this;
}
@CustomType.Setter
public Builder endpoints(AccountPropertiesResponseEndpoints endpoints) {
if (endpoints == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "endpoints");
}
this.endpoints = endpoints;
return this;
}
@CustomType.Setter
public Builder friendlyName(String friendlyName) {
if (friendlyName == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "friendlyName");
}
this.friendlyName = friendlyName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable IdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder location(@Nullable String location) {
this.location = location;
return this;
}
@CustomType.Setter
public Builder managedEventHubState(@Nullable String managedEventHubState) {
this.managedEventHubState = managedEventHubState;
return this;
}
@CustomType.Setter
public Builder managedResourceGroupName(@Nullable String managedResourceGroupName) {
this.managedResourceGroupName = managedResourceGroupName;
return this;
}
@CustomType.Setter
public Builder managedResources(AccountPropertiesResponseManagedResources managedResources) {
if (managedResources == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "managedResources");
}
this.managedResources = managedResources;
return this;
}
@CustomType.Setter
public Builder managedResourcesPublicNetworkAccess(@Nullable String managedResourcesPublicNetworkAccess) {
this.managedResourcesPublicNetworkAccess = managedResourcesPublicNetworkAccess;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateEndpointConnections(List privateEndpointConnections) {
if (privateEndpointConnections == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "privateEndpointConnections");
}
this.privateEndpointConnections = privateEndpointConnections;
return this;
}
public Builder privateEndpointConnections(PrivateEndpointConnectionResponse... privateEndpointConnections) {
return privateEndpointConnections(List.of(privateEndpointConnections));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder publicNetworkAccess(@Nullable String publicNetworkAccess) {
this.publicNetworkAccess = publicNetworkAccess;
return this;
}
@CustomType.Setter
public Builder sku(AccountResponseSku sku) {
if (sku == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "sku");
}
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder systemData(TrackedResourceResponseSystemData systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetAccountResult", "type");
}
this.type = type;
return this;
}
public GetAccountResult build() {
final var _resultValue = new GetAccountResult();
_resultValue.accountStatus = accountStatus;
_resultValue.cloudConnectors = cloudConnectors;
_resultValue.createdAt = createdAt;
_resultValue.createdBy = createdBy;
_resultValue.createdByObjectId = createdByObjectId;
_resultValue.endpoints = endpoints;
_resultValue.friendlyName = friendlyName;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_resultValue.managedEventHubState = managedEventHubState;
_resultValue.managedResourceGroupName = managedResourceGroupName;
_resultValue.managedResources = managedResources;
_resultValue.managedResourcesPublicNetworkAccess = managedResourcesPublicNetworkAccess;
_resultValue.name = name;
_resultValue.privateEndpointConnections = privateEndpointConnections;
_resultValue.provisioningState = provisioningState;
_resultValue.publicNetworkAccess = publicNetworkAccess;
_resultValue.sku = sku;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy