com.pulumi.aws.wafv2.inputs.GetRuleGroupPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.wafv2.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetRuleGroupPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetRuleGroupPlainArgs Empty = new GetRuleGroupPlainArgs();
/**
* Name of the WAFv2 Rule Group.
*
*/
@Import(name="name", required=true)
private String name;
/**
* @return Name of the WAFv2 Rule Group.
*
*/
public String name() {
return this.name;
}
/**
* Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
*
*/
@Import(name="scope", required=true)
private String scope;
/**
* @return Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
*
*/
public String scope() {
return this.scope;
}
private GetRuleGroupPlainArgs() {}
private GetRuleGroupPlainArgs(GetRuleGroupPlainArgs $) {
this.name = $.name;
this.scope = $.scope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRuleGroupPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetRuleGroupPlainArgs $;
public Builder() {
$ = new GetRuleGroupPlainArgs();
}
public Builder(GetRuleGroupPlainArgs defaults) {
$ = new GetRuleGroupPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param name Name of the WAFv2 Rule Group.
*
* @return builder
*
*/
public Builder name(String name) {
$.name = name;
return this;
}
/**
* @param scope Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
*
* @return builder
*
*/
public Builder scope(String scope) {
$.scope = scope;
return this;
}
public GetRuleGroupPlainArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GetRuleGroupPlainArgs", "name");
}
if ($.scope == null) {
throw new MissingRequiredPropertyException("GetRuleGroupPlainArgs", "scope");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy