
com.pulumi.azurenative.migrate.outputs.AppInsightMonitoringPropertiesResponse 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.migrate.outputs;
import com.pulumi.azurenative.migrate.outputs.SecretStoreDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AppInsightMonitoringPropertiesResponse {
/**
* @return Gets or sets the app insights name.
*
*/
private @Nullable String appInsightsName;
/**
* @return Gets or sets a value indicating whether monitoring is enabled.
*
*/
private @Nullable Boolean isEnabled;
/**
* @return Gets or sets the region.
*
*/
private @Nullable String region;
/**
* @return Gets or sets the resource group of the resource.
*
*/
private @Nullable String resourceGroup;
private @Nullable SecretStoreDetailsResponse secretStoreDetails;
/**
* @return Gets or sets the subscription id of the resource.
*
*/
private @Nullable String subscriptionId;
private AppInsightMonitoringPropertiesResponse() {}
/**
* @return Gets or sets the app insights name.
*
*/
public Optional appInsightsName() {
return Optional.ofNullable(this.appInsightsName);
}
/**
* @return Gets or sets a value indicating whether monitoring is enabled.
*
*/
public Optional isEnabled() {
return Optional.ofNullable(this.isEnabled);
}
/**
* @return Gets or sets the region.
*
*/
public Optional region() {
return Optional.ofNullable(this.region);
}
/**
* @return Gets or sets the resource group of the resource.
*
*/
public Optional resourceGroup() {
return Optional.ofNullable(this.resourceGroup);
}
public Optional secretStoreDetails() {
return Optional.ofNullable(this.secretStoreDetails);
}
/**
* @return Gets or sets the subscription id of the resource.
*
*/
public Optional subscriptionId() {
return Optional.ofNullable(this.subscriptionId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AppInsightMonitoringPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String appInsightsName;
private @Nullable Boolean isEnabled;
private @Nullable String region;
private @Nullable String resourceGroup;
private @Nullable SecretStoreDetailsResponse secretStoreDetails;
private @Nullable String subscriptionId;
public Builder() {}
public Builder(AppInsightMonitoringPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.appInsightsName = defaults.appInsightsName;
this.isEnabled = defaults.isEnabled;
this.region = defaults.region;
this.resourceGroup = defaults.resourceGroup;
this.secretStoreDetails = defaults.secretStoreDetails;
this.subscriptionId = defaults.subscriptionId;
}
@CustomType.Setter
public Builder appInsightsName(@Nullable String appInsightsName) {
this.appInsightsName = appInsightsName;
return this;
}
@CustomType.Setter
public Builder isEnabled(@Nullable Boolean isEnabled) {
this.isEnabled = isEnabled;
return this;
}
@CustomType.Setter
public Builder region(@Nullable String region) {
this.region = region;
return this;
}
@CustomType.Setter
public Builder resourceGroup(@Nullable String resourceGroup) {
this.resourceGroup = resourceGroup;
return this;
}
@CustomType.Setter
public Builder secretStoreDetails(@Nullable SecretStoreDetailsResponse secretStoreDetails) {
this.secretStoreDetails = secretStoreDetails;
return this;
}
@CustomType.Setter
public Builder subscriptionId(@Nullable String subscriptionId) {
this.subscriptionId = subscriptionId;
return this;
}
public AppInsightMonitoringPropertiesResponse build() {
final var _resultValue = new AppInsightMonitoringPropertiesResponse();
_resultValue.appInsightsName = appInsightsName;
_resultValue.isEnabled = isEnabled;
_resultValue.region = region;
_resultValue.resourceGroup = resourceGroup;
_resultValue.secretStoreDetails = secretStoreDetails;
_resultValue.subscriptionId = subscriptionId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy