Class CfnTrustAnchor.Builder

java.lang.Object
software.amazon.awscdk.services.rolesanywhere.CfnTrustAnchor.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrustAnchor>
Enclosing class:
CfnTrustAnchor

@Stability(Stable) public static final class CfnTrustAnchor.Builder extends Object implements software.amazon.jsii.Builder<CfnTrustAnchor>
A fluent builder for CfnTrustAnchor.
  • Method Details

    • create

      @Stability(Stable) public static CfnTrustAnchor.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnTrustAnchor.Builder.
    • name

      @Stability(Stable) public CfnTrustAnchor.Builder name(String name)
      The name of the trust anchor.

      Parameters:
      name - The name of the trust anchor. This parameter is required.
      Returns:
      this
    • source

      @Stability(Stable) public CfnTrustAnchor.Builder source(IResolvable source)
      The trust anchor type and its related certificate data.

      Parameters:
      source - The trust anchor type and its related certificate data. This parameter is required.
      Returns:
      this
    • source

      @Stability(Stable) public CfnTrustAnchor.Builder source(CfnTrustAnchor.SourceProperty source)
      The trust anchor type and its related certificate data.

      Parameters:
      source - The trust anchor type and its related certificate data. This parameter is required.
      Returns:
      this
    • enabled

      @Stability(Stable) public CfnTrustAnchor.Builder enabled(Boolean enabled)
      Indicates whether the trust anchor is enabled.

      Parameters:
      enabled - Indicates whether the trust anchor is enabled. This parameter is required.
      Returns:
      this
    • enabled

      @Stability(Stable) public CfnTrustAnchor.Builder enabled(IResolvable enabled)
      Indicates whether the trust anchor is enabled.

      Parameters:
      enabled - Indicates whether the trust anchor is enabled. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnTrustAnchor.Builder tags(List<? extends CfnTag> tags)
      The tags to attach to the trust anchor.

      Parameters:
      tags - The tags to attach to the trust anchor. This parameter is required.
      Returns:
      this
    • build

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