Interface Certificate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Certificate.Builder,,Certificate> SdkBuilder<Certificate.Builder,,Certificate> SdkPojo
- Enclosing class:
Certificate
@Mutable
@NotThreadSafe
public static interface Certificate.Builder
extends SdkPojo, CopyableBuilder<Certificate.Builder,Certificate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Certificate.BuilderAn object identifying the certificate authority that is currently signing certificates for the cluster.active(ActiveCertificateAuthority active) An object identifying the certificate authority that is currently signing certificates for the cluster.The Base64-encoded certificate data required to communicate with your cluster.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
-
data
The Base64-encoded certificate data required to communicate with your cluster. Add this to the
certificate-authority-datasection of thekubeconfigfile for your cluster.- Parameters:
data- The Base64-encoded certificate data required to communicate with your cluster. Add this to thecertificate-authority-datasection of thekubeconfigfile for your cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
active
An object identifying the certificate authority that is currently signing certificates for the cluster.
- Parameters:
active- An object identifying the certificate authority that is currently signing certificates for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
active
An object identifying the certificate authority that is currently signing certificates for the cluster.
This is a convenience method that creates an instance of theActiveCertificateAuthority.Builderavoiding the need to create one manually viaActiveCertificateAuthority.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactive(ActiveCertificateAuthority).- Parameters:
active- a consumer that will call methods onActiveCertificateAuthority.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-