Interface TrustedCaCertificate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TrustedCaCertificate.Builder,,TrustedCaCertificate> SdkBuilder<TrustedCaCertificate.Builder,,TrustedCaCertificate> SdkPojo
- Enclosing class:
TrustedCaCertificate
@Mutable
@NotThreadSafe
public static interface TrustedCaCertificate.Builder
extends SdkPojo, CopyableBuilder<TrustedCaCertificate.Builder,TrustedCaCertificate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TrustedCaCertificate.Buildersource(Consumer<CaCertificateSource.Builder> source) The source that AWS Security Agent reads the certificate from.source(CaCertificateSource source) The source that AWS Security Agent reads the certificate from.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
-
source
The source that AWS Security Agent reads the certificate from.
- Parameters:
source- The source that AWS Security Agent reads the certificate from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source that AWS Security Agent reads the certificate from.
This is a convenience method that creates an instance of theCaCertificateSource.Builderavoiding the need to create one manually viaCaCertificateSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(CaCertificateSource).- Parameters:
source- a consumer that will call methods onCaCertificateSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-