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