com.pulumi.azure.pim.outputs.RoleManagementPolicyNotificationRulesEligibleAssignments Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.pim.outputs;
import com.pulumi.azure.pim.outputs.RoleManagementPolicyNotificationRulesEligibleAssignmentsAdminNotifications;
import com.pulumi.azure.pim.outputs.RoleManagementPolicyNotificationRulesEligibleAssignmentsApproverNotifications;
import com.pulumi.azure.pim.outputs.RoleManagementPolicyNotificationRulesEligibleAssignmentsAssigneeNotifications;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RoleManagementPolicyNotificationRulesEligibleAssignments {
/**
* @return Admin notification settings
*
*/
private @Nullable RoleManagementPolicyNotificationRulesEligibleAssignmentsAdminNotifications adminNotifications;
/**
* @return Approver notification settings
*
*/
private @Nullable RoleManagementPolicyNotificationRulesEligibleAssignmentsApproverNotifications approverNotifications;
/**
* @return Assignee notification settings
*
*/
private @Nullable RoleManagementPolicyNotificationRulesEligibleAssignmentsAssigneeNotifications assigneeNotifications;
private RoleManagementPolicyNotificationRulesEligibleAssignments() {}
/**
* @return Admin notification settings
*
*/
public Optional adminNotifications() {
return Optional.ofNullable(this.adminNotifications);
}
/**
* @return Approver notification settings
*
*/
public Optional approverNotifications() {
return Optional.ofNullable(this.approverNotifications);
}
/**
* @return Assignee notification settings
*
*/
public Optional assigneeNotifications() {
return Optional.ofNullable(this.assigneeNotifications);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RoleManagementPolicyNotificationRulesEligibleAssignments defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable RoleManagementPolicyNotificationRulesEligibleAssignmentsAdminNotifications adminNotifications;
private @Nullable RoleManagementPolicyNotificationRulesEligibleAssignmentsApproverNotifications approverNotifications;
private @Nullable RoleManagementPolicyNotificationRulesEligibleAssignmentsAssigneeNotifications assigneeNotifications;
public Builder() {}
public Builder(RoleManagementPolicyNotificationRulesEligibleAssignments defaults) {
Objects.requireNonNull(defaults);
this.adminNotifications = defaults.adminNotifications;
this.approverNotifications = defaults.approverNotifications;
this.assigneeNotifications = defaults.assigneeNotifications;
}
@CustomType.Setter
public Builder adminNotifications(@Nullable RoleManagementPolicyNotificationRulesEligibleAssignmentsAdminNotifications adminNotifications) {
this.adminNotifications = adminNotifications;
return this;
}
@CustomType.Setter
public Builder approverNotifications(@Nullable RoleManagementPolicyNotificationRulesEligibleAssignmentsApproverNotifications approverNotifications) {
this.approverNotifications = approverNotifications;
return this;
}
@CustomType.Setter
public Builder assigneeNotifications(@Nullable RoleManagementPolicyNotificationRulesEligibleAssignmentsAssigneeNotifications assigneeNotifications) {
this.assigneeNotifications = assigneeNotifications;
return this;
}
public RoleManagementPolicyNotificationRulesEligibleAssignments build() {
final var _resultValue = new RoleManagementPolicyNotificationRulesEligibleAssignments();
_resultValue.adminNotifications = adminNotifications;
_resultValue.approverNotifications = approverNotifications;
_resultValue.assigneeNotifications = assigneeNotifications;
return _resultValue;
}
}
}