Class TrustStoreProps.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.TrustStoreProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TrustStoreProps>
- Enclosing interface:
TrustStoreProps
@Stability(Stable)
public static final class TrustStoreProps.Builder
extends Object
implements software.amazon.jsii.Builder<TrustStoreProps>
A builder for
TrustStoreProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucket(IBucketRef bucket) Sets the value ofTrustStoreProps.getBucket()build()Builds the configured instance.Sets the value ofTrustStoreProps.getKey()trustStoreName(String trustStoreName) Sets the value ofTrustStoreProps.getTrustStoreName()Sets the value ofTrustStoreProps.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofTrustStoreProps.getBucket()- Parameters:
bucket- The bucket that the trust store is hosted in. This parameter is required.- Returns:
this
-
key
Sets the value ofTrustStoreProps.getKey()- Parameters:
key- The key in S3 to look at for the trust store. This parameter is required.- Returns:
this
-
trustStoreName
Sets the value ofTrustStoreProps.getTrustStoreName()- Parameters:
trustStoreName- The name of the trust store.- Returns:
this
-
version
Sets the value ofTrustStoreProps.getVersion()- Parameters:
version- The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TrustStoreProps>- Returns:
- a new instance of
TrustStoreProps - Throws:
NullPointerException- if any required attribute was not provided
-