Package com.lithic.api.models
Class AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder
-
- All Implemented Interfaces:
public final class AuthRuleV2UpdateParams.Body.AccountLevelRule.BuilderA builder for AccountLevelRule.
-
-
Method Summary
-
-
Method Detail
-
accountTokens
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder accountTokens(List<String> accountTokens)
Account tokens to which the Auth Rule applies.
-
accountTokens
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder accountTokens(JsonField<List<String>> accountTokens)
Account tokens to which the Auth Rule applies.
-
addAccountToken
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder addAccountToken(String accountToken)
Account tokens to which the Auth Rule applies.
-
name
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder name(String name)
Auth Rule Name
-
name
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder name(Optional<String> name)
Auth Rule Name
-
name
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder name(JsonField<String> name)
Auth Rule Name
-
state
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder state(AuthRuleV2UpdateParams.Body.AccountLevelRule.State state)
The desired state of the Auth Rule.
Note that only deactivating an Auth Rule through this endpoint is supported at this time. If you need to (re-)activate an Auth Rule the /promote endpoint should be used to promote a draft to the currently active version.
-
state
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder state(JsonField<AuthRuleV2UpdateParams.Body.AccountLevelRule.State> state)
The desired state of the Auth Rule.
Note that only deactivating an Auth Rule through this endpoint is supported at this time. If you need to (re-)activate an Auth Rule the /promote endpoint should be used to promote a draft to the currently active version.
-
additionalProperties
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuthRuleV2UpdateParams.Body.AccountLevelRule.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuthRuleV2UpdateParams.Body.AccountLevelRule build()
-
-
-
-