Class CertificateListPageResponse.Builder
-
- All Implemented Interfaces:
public final class CertificateListPageResponse.BuilderA builder for CertificateListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final CertificateListPageResponse.Builder data(List<BetaTunnelCertificate> data)
List of certificates, ordered by created_at descending.
-
data
final CertificateListPageResponse.Builder data(JsonField<List<BetaTunnelCertificate>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<BetaTunnelCertificate>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final CertificateListPageResponse.Builder nextPage(String nextPage)
Pagination cursor for the next page, or null if no more results.
-
nextPage
final CertificateListPageResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final CertificateListPageResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CertificateListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addData
final CertificateListPageResponse.Builder addData(BetaTunnelCertificate data)
Adds a single BetaTunnelCertificate to Builder.data.
-
putAdditionalProperty
final CertificateListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CertificateListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CertificateListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CertificateListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CertificateListPageResponse build()
Returns an immutable instance of CertificateListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .nextPage()
-
-
-
-