Class BetaSpendLimitIncreaseRequest.Builder
-
- All Implemented Interfaces:
public final class BetaSpendLimitIncreaseRequest.BuilderA builder for BetaSpendLimitIncreaseRequest.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaSpendLimitIncreaseRequest.Builder id(String id)
-
id
final BetaSpendLimitIncreaseRequest.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
actor
final BetaSpendLimitIncreaseRequest.Builder actor(BetaSpendLimitIncreaseRequestActor actor)
Who submitted the increase request.
-
actor
final BetaSpendLimitIncreaseRequest.Builder actor(JsonField<BetaSpendLimitIncreaseRequestActor> actor)
Sets Builder.actor to an arbitrary JSON value.
You should usually call Builder.actor with a well-typed BetaSpendLimitIncreaseRequestActor value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
actor
final BetaSpendLimitIncreaseRequest.Builder actor(BetaSpendLimitUserActor user)
Alias for calling actor with
BetaSpendLimitIncreaseRequestActor.ofUser(user).
-
actor
final BetaSpendLimitIncreaseRequest.Builder actor(BetaSpendLimitScopedApiKeyActor scopedApiKey)
Alias for calling actor with
BetaSpendLimitIncreaseRequestActor.ofScopedApiKey(scopedApiKey).
-
createdAt
final BetaSpendLimitIncreaseRequest.Builder createdAt(OffsetDateTime createdAt)
-
createdAt
final BetaSpendLimitIncreaseRequest.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
period
final BetaSpendLimitIncreaseRequest.Builder period(BetaSpendLimitPeriod period)
-
period
final BetaSpendLimitIncreaseRequest.Builder period(JsonField<BetaSpendLimitPeriod> period)
Sets Builder.period to an arbitrary JSON value.
You should usually call Builder.period with a well-typed BetaSpendLimitPeriod value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
resolvedAt
final BetaSpendLimitIncreaseRequest.Builder resolvedAt(OffsetDateTime resolvedAt)
-
resolvedAt
final BetaSpendLimitIncreaseRequest.Builder resolvedAt(Optional<OffsetDateTime> resolvedAt)
Alias for calling Builder.resolvedAt with
resolvedAt.orElse(null).
-
resolvedAt
final BetaSpendLimitIncreaseRequest.Builder resolvedAt(JsonField<OffsetDateTime> resolvedAt)
Sets Builder.resolvedAt to an arbitrary JSON value.
You should usually call Builder.resolvedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
resolvedBy
final BetaSpendLimitIncreaseRequest.Builder resolvedBy(BetaSpendLimitIncreaseRequestResolvedBy resolvedBy)
Who approved or denied the increase request.
-
resolvedBy
final BetaSpendLimitIncreaseRequest.Builder resolvedBy(Optional<BetaSpendLimitIncreaseRequestResolvedBy> resolvedBy)
Alias for calling Builder.resolvedBy with
resolvedBy.orElse(null).
-
resolvedBy
final BetaSpendLimitIncreaseRequest.Builder resolvedBy(JsonField<BetaSpendLimitIncreaseRequestResolvedBy> resolvedBy)
Sets Builder.resolvedBy to an arbitrary JSON value.
You should usually call Builder.resolvedBy with a well-typed BetaSpendLimitIncreaseRequestResolvedBy value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
resolvedBy
final BetaSpendLimitIncreaseRequest.Builder resolvedBy(BetaSpendLimitUserActor userActor)
Alias for calling resolvedBy with
BetaSpendLimitIncreaseRequestResolvedBy.ofUserActor(userActor).
-
resolvedBy
final BetaSpendLimitIncreaseRequest.Builder resolvedBy(BetaSpendLimitScopedApiKeyActor scopedApiKeyActor)
Alias for calling resolvedBy with
BetaSpendLimitIncreaseRequestResolvedBy.ofScopedApiKeyActor(scopedApiKeyActor).
-
spendSummary
final BetaSpendLimitIncreaseRequest.Builder spendSummary(BetaSpendSummary spendSummary)
Per-member effective-limit report row (
GET /spend_limits/effective).
-
spendSummary
final BetaSpendLimitIncreaseRequest.Builder spendSummary(Optional<BetaSpendSummary> spendSummary)
Alias for calling Builder.spendSummary with
spendSummary.orElse(null).
-
spendSummary
final BetaSpendLimitIncreaseRequest.Builder spendSummary(JsonField<BetaSpendSummary> spendSummary)
Sets Builder.spendSummary to an arbitrary JSON value.
You should usually call Builder.spendSummary with a well-typed BetaSpendSummary value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final BetaSpendLimitIncreaseRequest.Builder status(BetaSpendLimitIncreaseRequestStatus status)
-
status
final BetaSpendLimitIncreaseRequest.Builder status(JsonField<BetaSpendLimitIncreaseRequestStatus> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed BetaSpendLimitIncreaseRequestStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaSpendLimitIncreaseRequest.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("spend_limit_increase_request")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaSpendLimitIncreaseRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
scopedApiKeyActor
final BetaSpendLimitIncreaseRequest.Builder scopedApiKeyActor(String scopedApiKeyId)
Alias for calling actor with the following:
BetaSpendLimitScopedApiKeyActor.builder() .scopedApiKeyId(scopedApiKeyId) .build()
-
scopedApiKeyActorResolvedBy
final BetaSpendLimitIncreaseRequest.Builder scopedApiKeyActorResolvedBy(String scopedApiKeyId)
Alias for calling resolvedBy with the following:
BetaSpendLimitScopedApiKeyActor.builder() .scopedApiKeyId(scopedApiKeyId) .build()
-
putAdditionalProperty
final BetaSpendLimitIncreaseRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaSpendLimitIncreaseRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaSpendLimitIncreaseRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaSpendLimitIncreaseRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaSpendLimitIncreaseRequest build()
Returns an immutable instance of BetaSpendLimitIncreaseRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .actor() .createdAt() .period() .resolvedAt() .resolvedBy() .spendSummary() .status()
-
-
-
-