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.notificationSettings
(List<? extends Object> notificationSettings) A list of notification settings to be associated to the trust anchor.notificationSettings
(IResolvable notificationSettings) A list of notification settings to be associated to 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
@Stability(Stable) public static CfnTrustAnchor.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
enabled
Indicates whether the trust anchor is enabled.- Parameters:
enabled
- Indicates whether the trust anchor is enabled. This parameter is required.- Returns:
this
- See Also:
-
enabled
Indicates whether the trust anchor is enabled.- Parameters:
enabled
- Indicates whether the trust anchor is enabled. This parameter is required.- Returns:
this
- See Also:
-
notificationSettings
@Stability(Stable) public CfnTrustAnchor.Builder notificationSettings(IResolvable notificationSettings) A list of notification settings to be associated to the trust anchor.- Parameters:
notificationSettings
- A list of notification settings to be associated to the trust anchor. This parameter is required.- Returns:
this
- See Also:
-
notificationSettings
@Stability(Stable) public CfnTrustAnchor.Builder notificationSettings(List<? extends Object> notificationSettings) A list of notification settings to be associated to the trust anchor.- Parameters:
notificationSettings
- A list of notification settings to be associated to the trust anchor. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTrustAnchor>
- Returns:
- a newly built instance of
CfnTrustAnchor
.
-