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