Class CertificateListResponse.Builder
-
- All Implemented Interfaces:
public final class CertificateListResponse.BuilderA builder for CertificateListResponse.
-
-
Method Summary
-
-
Method Detail
-
id
final CertificateListResponse.Builder id(String id)
The identifier, which can be referenced in API endpoints
-
id
final CertificateListResponse.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.
-
active
final CertificateListResponse.Builder active(Boolean active)
Whether the certificate is currently active at the organization level.
-
active
final CertificateListResponse.Builder active(JsonField<Boolean> active)
Sets Builder.active to an arbitrary JSON value.
You should usually call Builder.active with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
certificateDetails
final CertificateListResponse.Builder certificateDetails(CertificateListResponse.CertificateDetails certificateDetails)
-
certificateDetails
final CertificateListResponse.Builder certificateDetails(JsonField<CertificateListResponse.CertificateDetails> certificateDetails)
Sets Builder.certificateDetails to an arbitrary JSON value.
You should usually call Builder.certificateDetails with a well-typed CertificateDetails value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final CertificateListResponse.Builder createdAt(Long createdAt)
The Unix timestamp (in seconds) of when the certificate was uploaded.
-
createdAt
final CertificateListResponse.Builder createdAt(JsonField<Long> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final CertificateListResponse.Builder name(String name)
The name of the certificate.
-
name
final CertificateListResponse.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final CertificateListResponse.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final CertificateListResponse.Builder object_(JsonValue object_)
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("organization.certificate")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final CertificateListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final CertificateListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final CertificateListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final CertificateListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final CertificateListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final CertificateListResponse build()
Returns an immutable instance of CertificateListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .active() .certificateDetails() .createdAt() .name()
-
-
-
-