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 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

      @Stability(Stable) public TrustStore.Builder bucket(IBucket 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

      @Stability(Stable) public TrustStore.Builder key(String 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

      @Stability(Stable) public TrustStore.Builder trustStoreName(String 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

      @Stability(Stable) public TrustStore.Builder version(String 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

      @Stability(Stable) public TrustStore build()
      Specified by:
      build in interface software.amazon.jsii.Builder<TrustStore>
      Returns:
      a newly built instance of TrustStore.