
com.pulumi.azurenative.aad.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.aad.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class NotificationSettingsResponse {
/**
* @return The list of additional recipients
*
*/
private @Nullable List additionalRecipients;
/**
* @return Should domain controller admins be notified
*
*/
private @Nullable String notifyDcAdmins;
/**
* @return Should global admins be notified
*
*/
private @Nullable String notifyGlobalAdmins;
private NotificationSettingsResponse() {}
/**
* @return The list of additional recipients
*
*/
public List additionalRecipients() {
return this.additionalRecipients == null ? List.of() : this.additionalRecipients;
}
/**
* @return Should domain controller admins be notified
*
*/
public Optional notifyDcAdmins() {
return Optional.ofNullable(this.notifyDcAdmins);
}
/**
* @return Should global admins be notified
*
*/
public Optional notifyGlobalAdmins() {
return Optional.ofNullable(this.notifyGlobalAdmins);
}
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 List additionalRecipients;
private @Nullable String notifyDcAdmins;
private @Nullable String notifyGlobalAdmins;
public Builder() {}
public Builder(NotificationSettingsResponse defaults) {
Objects.requireNonNull(defaults);
this.additionalRecipients = defaults.additionalRecipients;
this.notifyDcAdmins = defaults.notifyDcAdmins;
this.notifyGlobalAdmins = defaults.notifyGlobalAdmins;
}
@CustomType.Setter
public Builder additionalRecipients(@Nullable List additionalRecipients) {
this.additionalRecipients = additionalRecipients;
return this;
}
public Builder additionalRecipients(String... additionalRecipients) {
return additionalRecipients(List.of(additionalRecipients));
}
@CustomType.Setter
public Builder notifyDcAdmins(@Nullable String notifyDcAdmins) {
this.notifyDcAdmins = notifyDcAdmins;
return this;
}
@CustomType.Setter
public Builder notifyGlobalAdmins(@Nullable String notifyGlobalAdmins) {
this.notifyGlobalAdmins = notifyGlobalAdmins;
return this;
}
public NotificationSettingsResponse build() {
final var _resultValue = new NotificationSettingsResponse();
_resultValue.additionalRecipients = additionalRecipients;
_resultValue.notifyDcAdmins = notifyDcAdmins;
_resultValue.notifyGlobalAdmins = notifyGlobalAdmins;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy