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.Builderlocation(Consumer<CertificateLocation.Builder> location) The location of the certificate.location(CertificateLocation location) The location of the 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
-
location
The location of the certificate.
- Parameters:
location- The location of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location of the certificate.
This is a convenience method that creates an instance of theCertificateLocation.Builderavoiding the need to create one manually viaCertificateLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(CertificateLocation).- Parameters:
location- a consumer that will call methods onCertificateLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-