com.pulumi.azurenative.communication.inputs.GetSuppressionListPlainArgs 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.communication.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetSuppressionListPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSuppressionListPlainArgs Empty = new GetSuppressionListPlainArgs();
/**
* The name of the Domains resource.
*
*/
@Import(name="domainName", required=true)
private String domainName;
/**
* @return The name of the Domains resource.
*
*/
public String domainName() {
return this.domainName;
}
/**
* The name of the EmailService resource.
*
*/
@Import(name="emailServiceName", required=true)
private String emailServiceName;
/**
* @return The name of the EmailService resource.
*
*/
public String emailServiceName() {
return this.emailServiceName;
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the suppression list.
*
*/
@Import(name="suppressionListName", required=true)
private String suppressionListName;
/**
* @return The name of the suppression list.
*
*/
public String suppressionListName() {
return this.suppressionListName;
}
private GetSuppressionListPlainArgs() {}
private GetSuppressionListPlainArgs(GetSuppressionListPlainArgs $) {
this.domainName = $.domainName;
this.emailServiceName = $.emailServiceName;
this.resourceGroupName = $.resourceGroupName;
this.suppressionListName = $.suppressionListName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSuppressionListPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSuppressionListPlainArgs $;
public Builder() {
$ = new GetSuppressionListPlainArgs();
}
public Builder(GetSuppressionListPlainArgs defaults) {
$ = new GetSuppressionListPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param domainName The name of the Domains resource.
*
* @return builder
*
*/
public Builder domainName(String domainName) {
$.domainName = domainName;
return this;
}
/**
* @param emailServiceName The name of the EmailService resource.
*
* @return builder
*
*/
public Builder emailServiceName(String emailServiceName) {
$.emailServiceName = emailServiceName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param suppressionListName The name of the suppression list.
*
* @return builder
*
*/
public Builder suppressionListName(String suppressionListName) {
$.suppressionListName = suppressionListName;
return this;
}
public GetSuppressionListPlainArgs build() {
if ($.domainName == null) {
throw new MissingRequiredPropertyException("GetSuppressionListPlainArgs", "domainName");
}
if ($.emailServiceName == null) {
throw new MissingRequiredPropertyException("GetSuppressionListPlainArgs", "emailServiceName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetSuppressionListPlainArgs", "resourceGroupName");
}
if ($.suppressionListName == null) {
throw new MissingRequiredPropertyException("GetSuppressionListPlainArgs", "suppressionListName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy