
com.pulumi.azurenative.appconfiguration.outputs.GetConfigurationStoreResult 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.appconfiguration.outputs;
import com.pulumi.azurenative.appconfiguration.outputs.EncryptionPropertiesResponse;
import com.pulumi.azurenative.appconfiguration.outputs.PrivateEndpointConnectionReferenceResponse;
import com.pulumi.azurenative.appconfiguration.outputs.ResourceIdentityResponse;
import com.pulumi.azurenative.appconfiguration.outputs.SkuResponse;
import com.pulumi.azurenative.appconfiguration.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
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 GetConfigurationStoreResult {
/**
* @return The creation date of configuration store.
*
*/
private String creationDate;
/**
* @return Disables all authentication methods other than AAD authentication.
*
*/
private @Nullable Boolean disableLocalAuth;
/**
* @return Property specifying whether protection against purge is enabled for this configuration store.
*
*/
private @Nullable Boolean enablePurgeProtection;
/**
* @return The encryption settings of the configuration store.
*
*/
private @Nullable EncryptionPropertiesResponse encryption;
/**
* @return The DNS endpoint where the configuration store API will be available.
*
*/
private String endpoint;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return The managed identity information, if configured.
*
*/
private @Nullable ResourceIdentityResponse identity;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The list of private endpoint connections that are set up for this resource.
*
*/
private List privateEndpointConnections;
/**
* @return The provisioning state of the configuration store.
*
*/
private String provisioningState;
/**
* @return Control permission for data plane traffic coming from public networks while private endpoint is enabled.
*
*/
private @Nullable String publicNetworkAccess;
/**
* @return The sku of the configuration store.
*
*/
private SkuResponse sku;
/**
* @return The amount of time in days that the configuration store will be retained when it is soft deleted.
*
*/
private @Nullable Integer softDeleteRetentionInDays;
/**
* @return Resource system metadata.
*
*/
private SystemDataResponse systemData;
/**
* @return Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
private GetConfigurationStoreResult() {}
/**
* @return The creation date of configuration store.
*
*/
public String creationDate() {
return this.creationDate;
}
/**
* @return Disables all authentication methods other than AAD authentication.
*
*/
public Optional disableLocalAuth() {
return Optional.ofNullable(this.disableLocalAuth);
}
/**
* @return Property specifying whether protection against purge is enabled for this configuration store.
*
*/
public Optional enablePurgeProtection() {
return Optional.ofNullable(this.enablePurgeProtection);
}
/**
* @return The encryption settings of the configuration store.
*
*/
public Optional encryption() {
return Optional.ofNullable(this.encryption);
}
/**
* @return The DNS endpoint where the configuration store API will be available.
*
*/
public String endpoint() {
return this.endpoint;
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return The managed identity information, if configured.
*
*/
public Optional identity() {
return Optional.ofNullable(this.identity);
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The list of private endpoint connections that are set up for this resource.
*
*/
public List privateEndpointConnections() {
return this.privateEndpointConnections;
}
/**
* @return The provisioning state of the configuration store.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return Control permission for data plane traffic coming from public networks while private endpoint is enabled.
*
*/
public Optional publicNetworkAccess() {
return Optional.ofNullable(this.publicNetworkAccess);
}
/**
* @return The sku of the configuration store.
*
*/
public SkuResponse sku() {
return this.sku;
}
/**
* @return The amount of time in days that the configuration store will be retained when it is soft deleted.
*
*/
public Optional softDeleteRetentionInDays() {
return Optional.ofNullable(this.softDeleteRetentionInDays);
}
/**
* @return Resource system metadata.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetConfigurationStoreResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String creationDate;
private @Nullable Boolean disableLocalAuth;
private @Nullable Boolean enablePurgeProtection;
private @Nullable EncryptionPropertiesResponse encryption;
private String endpoint;
private String id;
private @Nullable ResourceIdentityResponse identity;
private String location;
private String name;
private List privateEndpointConnections;
private String provisioningState;
private @Nullable String publicNetworkAccess;
private SkuResponse sku;
private @Nullable Integer softDeleteRetentionInDays;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
public Builder() {}
public Builder(GetConfigurationStoreResult defaults) {
Objects.requireNonNull(defaults);
this.creationDate = defaults.creationDate;
this.disableLocalAuth = defaults.disableLocalAuth;
this.enablePurgeProtection = defaults.enablePurgeProtection;
this.encryption = defaults.encryption;
this.endpoint = defaults.endpoint;
this.id = defaults.id;
this.identity = defaults.identity;
this.location = defaults.location;
this.name = defaults.name;
this.privateEndpointConnections = defaults.privateEndpointConnections;
this.provisioningState = defaults.provisioningState;
this.publicNetworkAccess = defaults.publicNetworkAccess;
this.sku = defaults.sku;
this.softDeleteRetentionInDays = defaults.softDeleteRetentionInDays;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
}
@CustomType.Setter
public Builder creationDate(String creationDate) {
if (creationDate == null) {
throw new MissingRequiredPropertyException("GetConfigurationStoreResult", "creationDate");
}
this.creationDate = creationDate;
return this;
}
@CustomType.Setter
public Builder disableLocalAuth(@Nullable Boolean disableLocalAuth) {
this.disableLocalAuth = disableLocalAuth;
return this;
}
@CustomType.Setter
public Builder enablePurgeProtection(@Nullable Boolean enablePurgeProtection) {
this.enablePurgeProtection = enablePurgeProtection;
return this;
}
@CustomType.Setter
public Builder encryption(@Nullable EncryptionPropertiesResponse encryption) {
this.encryption = encryption;
return this;
}
@CustomType.Setter
public Builder endpoint(String endpoint) {
if (endpoint == null) {
throw new MissingRequiredPropertyException("GetConfigurationStoreResult", "endpoint");
}
this.endpoint = endpoint;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetConfigurationStoreResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identity(@Nullable ResourceIdentityResponse identity) {
this.identity = identity;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetConfigurationStoreResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetConfigurationStoreResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder privateEndpointConnections(List privateEndpointConnections) {
if (privateEndpointConnections == null) {
throw new MissingRequiredPropertyException("GetConfigurationStoreResult", "privateEndpointConnections");
}
this.privateEndpointConnections = privateEndpointConnections;
return this;
}
public Builder privateEndpointConnections(PrivateEndpointConnectionReferenceResponse... privateEndpointConnections) {
return privateEndpointConnections(List.of(privateEndpointConnections));
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetConfigurationStoreResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder publicNetworkAccess(@Nullable String publicNetworkAccess) {
this.publicNetworkAccess = publicNetworkAccess;
return this;
}
@CustomType.Setter
public Builder sku(SkuResponse sku) {
if (sku == null) {
throw new MissingRequiredPropertyException("GetConfigurationStoreResult", "sku");
}
this.sku = sku;
return this;
}
@CustomType.Setter
public Builder softDeleteRetentionInDays(@Nullable Integer softDeleteRetentionInDays) {
this.softDeleteRetentionInDays = softDeleteRetentionInDays;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetConfigurationStoreResult", "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("GetConfigurationStoreResult", "type");
}
this.type = type;
return this;
}
public GetConfigurationStoreResult build() {
final var _resultValue = new GetConfigurationStoreResult();
_resultValue.creationDate = creationDate;
_resultValue.disableLocalAuth = disableLocalAuth;
_resultValue.enablePurgeProtection = enablePurgeProtection;
_resultValue.encryption = encryption;
_resultValue.endpoint = endpoint;
_resultValue.id = id;
_resultValue.identity = identity;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.privateEndpointConnections = privateEndpointConnections;
_resultValue.provisioningState = provisioningState;
_resultValue.publicNetworkAccess = publicNetworkAccess;
_resultValue.sku = sku;
_resultValue.softDeleteRetentionInDays = softDeleteRetentionInDays;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy