com.pulumi.aws.wafv2.outputs.GetWebAclResult Maven / Gradle / Ivy
// *** 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.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetWebAclResult {
/**
* @return ARN of the entity.
*
*/
private String arn;
/**
* @return Description of the WebACL that helps with identification.
*
*/
private String description;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String name;
private String scope;
private GetWebAclResult() {}
/**
* @return ARN of the entity.
*
*/
public String arn() {
return this.arn;
}
/**
* @return Description of the WebACL that helps with identification.
*
*/
public String description() {
return this.description;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String name() {
return this.name;
}
public String scope() {
return this.scope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWebAclResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String description;
private String id;
private String name;
private String scope;
public Builder() {}
public Builder(GetWebAclResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.description = defaults.description;
this.id = defaults.id;
this.name = defaults.name;
this.scope = defaults.scope;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetWebAclResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetWebAclResult", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetWebAclResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetWebAclResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder scope(String scope) {
if (scope == null) {
throw new MissingRequiredPropertyException("GetWebAclResult", "scope");
}
this.scope = scope;
return this;
}
public GetWebAclResult build() {
final var _resultValue = new GetWebAclResult();
_resultValue.arn = arn;
_resultValue.description = description;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.scope = scope;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy