com.pulumi.azurenative.cdn.outputs.SecurityPolicyWebApplicationFirewallAssociationResponse 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.
The newest version!
// *** 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.cdn.outputs;
import com.pulumi.azurenative.cdn.outputs.ActivatedResourceReferenceResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class SecurityPolicyWebApplicationFirewallAssociationResponse {
/**
* @return List of domains.
*
*/
private @Nullable List domains;
/**
* @return List of paths
*
*/
private @Nullable List patternsToMatch;
private SecurityPolicyWebApplicationFirewallAssociationResponse() {}
/**
* @return List of domains.
*
*/
public List domains() {
return this.domains == null ? List.of() : this.domains;
}
/**
* @return List of paths
*
*/
public List patternsToMatch() {
return this.patternsToMatch == null ? List.of() : this.patternsToMatch;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SecurityPolicyWebApplicationFirewallAssociationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List domains;
private @Nullable List patternsToMatch;
public Builder() {}
public Builder(SecurityPolicyWebApplicationFirewallAssociationResponse defaults) {
Objects.requireNonNull(defaults);
this.domains = defaults.domains;
this.patternsToMatch = defaults.patternsToMatch;
}
@CustomType.Setter
public Builder domains(@Nullable List domains) {
this.domains = domains;
return this;
}
public Builder domains(ActivatedResourceReferenceResponse... domains) {
return domains(List.of(domains));
}
@CustomType.Setter
public Builder patternsToMatch(@Nullable List patternsToMatch) {
this.patternsToMatch = patternsToMatch;
return this;
}
public Builder patternsToMatch(String... patternsToMatch) {
return patternsToMatch(List.of(patternsToMatch));
}
public SecurityPolicyWebApplicationFirewallAssociationResponse build() {
final var _resultValue = new SecurityPolicyWebApplicationFirewallAssociationResponse();
_resultValue.domains = domains;
_resultValue.patternsToMatch = patternsToMatch;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy