Class TrustStore.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.TrustStore.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TrustStore>
- Enclosing class:
TrustStore
@Stability(Stable)
public static final class TrustStore.Builder
extends Object
implements software.amazon.jsii.Builder<TrustStore>
A fluent builder for
TrustStore
.-
Method Summary
Modifier and TypeMethodDescriptionThe bucket that the trust store is hosted in.build()
static TrustStore.Builder
The key in S3 to look at for the trust store.trustStoreName
(String trustStoreName) The name of the trust store.The version of the S3 object that contains your truststore.
-
Method Details
-
create
@Stability(Stable) public static TrustStore.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
TrustStore.Builder
.
-
bucket
The bucket that the trust store is hosted in.- Parameters:
bucket
- The bucket that the trust store is hosted in. This parameter is required.- Returns:
this
-
key
The key in S3 to look at for the trust store.- Parameters:
key
- The key in S3 to look at for the trust store. This parameter is required.- Returns:
this
-
trustStoreName
The name of the trust store.Default: - Auto generated
- Parameters:
trustStoreName
- The name of the trust store. This parameter is required.- Returns:
this
-
version
The version of the S3 object that contains your truststore.To specify a version, you must have versioning enabled for the S3 bucket.
Default: - latest version
- Parameters:
version
- The version of the S3 object that contains your truststore. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TrustStore>
- Returns:
- a newly built instance of
TrustStore
.
-