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