com.pulumi.azurenative.solutions.inputs.ApplicationNotificationPolicyArgs 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.solutions.inputs;
import com.pulumi.azurenative.solutions.inputs.ApplicationNotificationEndpointArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
/**
* Managed application notification policy.
*
*/
public final class ApplicationNotificationPolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final ApplicationNotificationPolicyArgs Empty = new ApplicationNotificationPolicyArgs();
/**
* The managed application notification endpoint.
*
*/
@Import(name="notificationEndpoints", required=true)
private Output> notificationEndpoints;
/**
* @return The managed application notification endpoint.
*
*/
public Output> notificationEndpoints() {
return this.notificationEndpoints;
}
private ApplicationNotificationPolicyArgs() {}
private ApplicationNotificationPolicyArgs(ApplicationNotificationPolicyArgs $) {
this.notificationEndpoints = $.notificationEndpoints;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationNotificationPolicyArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ApplicationNotificationPolicyArgs $;
public Builder() {
$ = new ApplicationNotificationPolicyArgs();
}
public Builder(ApplicationNotificationPolicyArgs defaults) {
$ = new ApplicationNotificationPolicyArgs(Objects.requireNonNull(defaults));
}
/**
* @param notificationEndpoints The managed application notification endpoint.
*
* @return builder
*
*/
public Builder notificationEndpoints(Output> notificationEndpoints) {
$.notificationEndpoints = notificationEndpoints;
return this;
}
/**
* @param notificationEndpoints The managed application notification endpoint.
*
* @return builder
*
*/
public Builder notificationEndpoints(List notificationEndpoints) {
return notificationEndpoints(Output.of(notificationEndpoints));
}
/**
* @param notificationEndpoints The managed application notification endpoint.
*
* @return builder
*
*/
public Builder notificationEndpoints(ApplicationNotificationEndpointArgs... notificationEndpoints) {
return notificationEndpoints(List.of(notificationEndpoints));
}
public ApplicationNotificationPolicyArgs build() {
if ($.notificationEndpoints == null) {
throw new MissingRequiredPropertyException("ApplicationNotificationPolicyArgs", "notificationEndpoints");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy