Interface CertificateAuthority.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CertificateAuthority.Builder,,CertificateAuthority> SdkBuilder<CertificateAuthority.Builder,,CertificateAuthority> SdkPojo
- Enclosing class:
CertificateAuthority
-
Method Summary
Modifier and TypeMethodDescriptionactivatedAt(Instant activatedAt) The Unix epoch timestamp in seconds for when the certificate authority was last activated as the cluster's signer.activatedBy(String activatedBy) The entity that most recently activated the certificate authority.activatedBy(CertificateAuthorityActivatedBy activatedBy) The entity that most recently activated the certificate authority.The Unix epoch timestamp in seconds for when the certificate authority was created.The entity that created the certificate authority.createdBy(CertificateAuthorityCreatedBy createdBy) The entity that created the certificate authority.The Base64-encoded public certificate of the certificate authority.distributionStatus(String distributionStatus) The distribution status of the certificate authority, which tracks whether Amazon EKS has distributed its trust to the Amazon Web Services managed components in your cluster (the control plane, Amazon EKS Auto Mode instances, and Amazon Web Services Fargate nodes).distributionStatus(CertificateAuthorityDistributionStatus distributionStatus) The distribution status of the certificate authority, which tracks whether Amazon EKS has distributed its trust to the Amazon Web Services managed components in your cluster (the control plane, Amazon EKS Auto Mode instances, and Amazon Web Services Fargate nodes).The unique identifier of the certificate authority.rollbackAvailable(Boolean rollbackAvailable) Indicates whether CA rollback is still available for this certificate authority.default CertificateAuthority.BuilderscheduledEvents(Consumer<CertificateAuthorityScheduledEvents.Builder> scheduledEvents) The scheduled auto-activation events for the certificate authority, computed from its validity period.scheduledEvents(CertificateAuthorityScheduledEvents scheduledEvents) The scheduled auto-activation events for the certificate authority, computed from its validity period.signingStatus(String signingStatus) The signing status of the certificate authority.signingStatus(CertificateAuthoritySigningStatus signingStatus) The signing status of the certificate authority.default CertificateAuthority.Buildervalidity(Consumer<CertificateAuthorityValidity.Builder> validity) The validity period of the certificate authority's certificate.validity(CertificateAuthorityValidity validity) The validity period of the certificate authority's certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier of the certificate authority.
- Parameters:
id- The unique identifier of the certificate authority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The Unix epoch timestamp in seconds for when the certificate authority was created.
- Parameters:
createdAt- The Unix epoch timestamp in seconds for when the certificate authority was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The entity that created the certificate authority. Certificate authorities that you create are
CUSTOMER; those that Amazon EKS provisions on your behalf, such as a cluster's initial certificate authority, areEKS.- Parameters:
createdBy- The entity that created the certificate authority. Certificate authorities that you create areCUSTOMER; those that Amazon EKS provisions on your behalf, such as a cluster's initial certificate authority, areEKS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdBy
The entity that created the certificate authority. Certificate authorities that you create are
CUSTOMER; those that Amazon EKS provisions on your behalf, such as a cluster's initial certificate authority, areEKS.- Parameters:
createdBy- The entity that created the certificate authority. Certificate authorities that you create areCUSTOMER; those that Amazon EKS provisions on your behalf, such as a cluster's initial certificate authority, areEKS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activatedAt
The Unix epoch timestamp in seconds for when the certificate authority was last activated as the cluster's signer. This value is absent if the certificate authority has never been activated.
- Parameters:
activatedAt- The Unix epoch timestamp in seconds for when the certificate authority was last activated as the cluster's signer. This value is absent if the certificate authority has never been activated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activatedBy
The entity that most recently activated the certificate authority. A value of
EKSindicates that Amazon EKS activated it automatically;CUSTOMERindicates that you activated it.- Parameters:
activatedBy- The entity that most recently activated the certificate authority. A value ofEKSindicates that Amazon EKS activated it automatically;CUSTOMERindicates that you activated it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activatedBy
The entity that most recently activated the certificate authority. A value of
EKSindicates that Amazon EKS activated it automatically;CUSTOMERindicates that you activated it.- Parameters:
activatedBy- The entity that most recently activated the certificate authority. A value ofEKSindicates that Amazon EKS activated it automatically;CUSTOMERindicates that you activated it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signingStatus
The signing status of the certificate authority.
IN_USEmeans the certificate authority is currently signing certificates for the cluster,ACTIVATINGmeans it's being promoted to the signer, andNOT_USEDmeans it's trusted by the cluster (for example, a successor CA during a rotation, or a retired outgoing CA) but isn't the signer.- Parameters:
signingStatus- The signing status of the certificate authority.IN_USEmeans the certificate authority is currently signing certificates for the cluster,ACTIVATINGmeans it's being promoted to the signer, andNOT_USEDmeans it's trusted by the cluster (for example, a successor CA during a rotation, or a retired outgoing CA) but isn't the signer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
signingStatus
The signing status of the certificate authority.
IN_USEmeans the certificate authority is currently signing certificates for the cluster,ACTIVATINGmeans it's being promoted to the signer, andNOT_USEDmeans it's trusted by the cluster (for example, a successor CA during a rotation, or a retired outgoing CA) but isn't the signer.- Parameters:
signingStatus- The signing status of the certificate authority.IN_USEmeans the certificate authority is currently signing certificates for the cluster,ACTIVATINGmeans it's being promoted to the signer, andNOT_USEDmeans it's trusted by the cluster (for example, a successor CA during a rotation, or a retired outgoing CA) but isn't the signer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
distributionStatus
The distribution status of the certificate authority, which tracks whether Amazon EKS has distributed its trust to the Amazon Web Services managed components in your cluster (the control plane, Amazon EKS Auto Mode instances, and Amazon Web Services Fargate nodes). Valid values are
IN_PROGRESS,COMPLETE,FAILED, andDELETING. A successor CA can only be activated after its distribution status isCOMPLETE.- Parameters:
distributionStatus- The distribution status of the certificate authority, which tracks whether Amazon EKS has distributed its trust to the Amazon Web Services managed components in your cluster (the control plane, Amazon EKS Auto Mode instances, and Amazon Web Services Fargate nodes). Valid values areIN_PROGRESS,COMPLETE,FAILED, andDELETING. A successor CA can only be activated after its distribution status isCOMPLETE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
distributionStatus
CertificateAuthority.Builder distributionStatus(CertificateAuthorityDistributionStatus distributionStatus) The distribution status of the certificate authority, which tracks whether Amazon EKS has distributed its trust to the Amazon Web Services managed components in your cluster (the control plane, Amazon EKS Auto Mode instances, and Amazon Web Services Fargate nodes). Valid values are
IN_PROGRESS,COMPLETE,FAILED, andDELETING. A successor CA can only be activated after its distribution status isCOMPLETE.- Parameters:
distributionStatus- The distribution status of the certificate authority, which tracks whether Amazon EKS has distributed its trust to the Amazon Web Services managed components in your cluster (the control plane, Amazon EKS Auto Mode instances, and Amazon Web Services Fargate nodes). Valid values areIN_PROGRESS,COMPLETE,FAILED, andDELETING. A successor CA can only be activated after its distribution status isCOMPLETE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validity
The validity period of the certificate authority's certificate.
- Parameters:
validity- The validity period of the certificate authority's certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validity
default CertificateAuthority.Builder validity(Consumer<CertificateAuthorityValidity.Builder> validity) The validity period of the certificate authority's certificate.
This is a convenience method that creates an instance of theCertificateAuthorityValidity.Builderavoiding the need to create one manually viaCertificateAuthorityValidity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidity(CertificateAuthorityValidity).- Parameters:
validity- a consumer that will call methods onCertificateAuthorityValidity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduledEvents
The scheduled auto-activation events for the certificate authority, computed from its validity period.
- Parameters:
scheduledEvents- The scheduled auto-activation events for the certificate authority, computed from its validity period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduledEvents
default CertificateAuthority.Builder scheduledEvents(Consumer<CertificateAuthorityScheduledEvents.Builder> scheduledEvents) The scheduled auto-activation events for the certificate authority, computed from its validity period.
This is a convenience method that creates an instance of theCertificateAuthorityScheduledEvents.Builderavoiding the need to create one manually viaCertificateAuthorityScheduledEvents.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduledEvents(CertificateAuthorityScheduledEvents).- Parameters:
scheduledEvents- a consumer that will call methods onCertificateAuthorityScheduledEvents.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rollbackAvailable
Indicates whether CA rollback is still available for this certificate authority. After you activate a successor CA, rollback lets you revert to the outgoing CA for a limited period while you finish updating any worker nodes or clients that were missed.
- Parameters:
rollbackAvailable- Indicates whether CA rollback is still available for this certificate authority. After you activate a successor CA, rollback lets you revert to the outgoing CA for a limited period while you finish updating any worker nodes or clients that were missed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The Base64-encoded public certificate of the certificate authority.
- Parameters:
data- The Base64-encoded public certificate of the certificate authority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-