public class ImmutableWhitelistRuleBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.function.Function<WhitelistRule,WhitelistRule> |
COPY |
| Constructor and Description |
|---|
ImmutableWhitelistRuleBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableWhitelistRuleBuilder |
allowInbound(boolean allowInbound) |
ImmutableWhitelistRuleBuilder |
authenticationRequired(boolean authenticationRequired) |
ImmutableWhitelistRule |
build() |
ImmutableWhitelistRuleBuilder |
copyOf(WhitelistRule template) |
ImmutableWhitelistRuleBuilder |
expression(String expression) |
String |
getExpression() |
Integer |
getId() |
WhitelistType |
getType() |
ImmutableWhitelistRuleBuilder |
id(Integer id) |
boolean |
isAllowInbound() |
boolean |
isAuthenticationRequired() |
ImmutableWhitelistRuleBuilder |
type(WhitelistType type) |
public static final java.util.function.Function<WhitelistRule,WhitelistRule> COPY
public Integer getId()
public String getExpression()
public WhitelistType getType()
public boolean isAllowInbound()
public boolean isAuthenticationRequired()
public ImmutableWhitelistRuleBuilder copyOf(WhitelistRule template)
public ImmutableWhitelistRuleBuilder id(Integer id)
public ImmutableWhitelistRuleBuilder expression(String expression)
public ImmutableWhitelistRuleBuilder type(WhitelistType type)
public ImmutableWhitelistRuleBuilder allowInbound(boolean allowInbound)
public ImmutableWhitelistRuleBuilder authenticationRequired(boolean authenticationRequired)
public ImmutableWhitelistRule build()
Copyright © 2023 Atlassian. All Rights Reserved.