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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnTrustAnchor.Builder
Indicates whether the trust anchor is enabled.enabled
(IResolvable enabled) Indicates whether the trust anchor is enabled.The name of the trust anchor.source
(IResolvable source) The trust anchor type and its related certificate data.source
(CfnTrustAnchor.SourceProperty source) The trust anchor type and its related certificate data.The tags to attach to the trust anchor.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnTrustAnchor.Builder
.
-
name
The name of the trust anchor.- Parameters:
name
- The name of the trust anchor. This parameter is required.- Returns:
this
-
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
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
Indicates whether the trust anchor is enabled.- Parameters:
enabled
- Indicates whether the trust anchor is enabled. This parameter is required.- Returns:
this
-
enabled
Indicates whether the trust anchor is enabled.- Parameters:
enabled
- Indicates whether the trust anchor is enabled. This parameter is required.- Returns:
this
-
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrustAnchor>
- Returns:
- a newly built instance of
CfnTrustAnchor
.
-