
com.pulumi.azurenative.changeanalysis.outputs.NotificationSettingsResponse 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.changeanalysis.outputs;
import com.pulumi.azurenative.changeanalysis.outputs.AzureMonitorWorkspacePropertiesResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class NotificationSettingsResponse {
/**
* @return The state of notifications feature.
*
*/
private @Nullable String activationState;
/**
* @return Configuration properties of an Azure Monitor workspace that receives change notifications.
*
*/
private @Nullable AzureMonitorWorkspacePropertiesResponse azureMonitorWorkspaceProperties;
private NotificationSettingsResponse() {}
/**
* @return The state of notifications feature.
*
*/
public Optional activationState() {
return Optional.ofNullable(this.activationState);
}
/**
* @return Configuration properties of an Azure Monitor workspace that receives change notifications.
*
*/
public Optional azureMonitorWorkspaceProperties() {
return Optional.ofNullable(this.azureMonitorWorkspaceProperties);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NotificationSettingsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String activationState;
private @Nullable AzureMonitorWorkspacePropertiesResponse azureMonitorWorkspaceProperties;
public Builder() {}
public Builder(NotificationSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.activationState = defaults.activationState;
this.azureMonitorWorkspaceProperties = defaults.azureMonitorWorkspaceProperties;
}
@CustomType.Setter
public Builder activationState(@Nullable String activationState) {
this.activationState = activationState;
return this;
}
@CustomType.Setter
public Builder azureMonitorWorkspaceProperties(@Nullable AzureMonitorWorkspacePropertiesResponse azureMonitorWorkspaceProperties) {
this.azureMonitorWorkspaceProperties = azureMonitorWorkspaceProperties;
return this;
}
public NotificationSettingsResponse build() {
final var _resultValue = new NotificationSettingsResponse();
_resultValue.activationState = activationState;
_resultValue.azureMonitorWorkspaceProperties = azureMonitorWorkspaceProperties;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy