Class CfnTrustAnchorMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rolesanywhere.CfnTrustAnchorMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrustAnchorMixinProps>
- Enclosing interface:
CfnTrustAnchorMixinProps
@Stability(Stable)
public static final class CfnTrustAnchorMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrustAnchorMixinProps>
A builder for
CfnTrustAnchorMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTrustAnchorMixinProps.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnTrustAnchorMixinProps.getEnabled()Sets the value ofCfnTrustAnchorMixinProps.getName()notificationSettings(List<? extends Object> notificationSettings) Sets the value ofCfnTrustAnchorMixinProps.getNotificationSettings()notificationSettings(IResolvable notificationSettings) Sets the value ofCfnTrustAnchorMixinProps.getNotificationSettings()Sets the value ofCfnTrustAnchorMixinProps.getSource()source(IResolvable source) Sets the value ofCfnTrustAnchorMixinProps.getSource()Sets the value ofCfnTrustAnchorMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnTrustAnchorMixinProps.getEnabled()- Parameters:
enabled- Indicates whether the trust anchor is enabled.- Returns:
this
-
enabled
Sets the value ofCfnTrustAnchorMixinProps.getEnabled()- Parameters:
enabled- Indicates whether the trust anchor is enabled.- Returns:
this
-
name
Sets the value ofCfnTrustAnchorMixinProps.getName()- Parameters:
name- The name of the trust anchor.- Returns:
this
-
notificationSettings
@Stability(Stable) public CfnTrustAnchorMixinProps.Builder notificationSettings(IResolvable notificationSettings) Sets the value ofCfnTrustAnchorMixinProps.getNotificationSettings()- Parameters:
notificationSettings- A list of notification settings to be associated to the trust anchor.- Returns:
this
-
notificationSettings
@Stability(Stable) public CfnTrustAnchorMixinProps.Builder notificationSettings(List<? extends Object> notificationSettings) Sets the value ofCfnTrustAnchorMixinProps.getNotificationSettings()- Parameters:
notificationSettings- A list of notification settings to be associated to the trust anchor.- Returns:
this
-
source
Sets the value ofCfnTrustAnchorMixinProps.getSource()- Parameters:
source- The trust anchor type and its related certificate data.- Returns:
this
-
source
@Stability(Stable) public CfnTrustAnchorMixinProps.Builder source(CfnTrustAnchorPropsMixin.SourceProperty source) Sets the value ofCfnTrustAnchorMixinProps.getSource()- Parameters:
source- The trust anchor type and its related certificate data.- Returns:
this
-
tags
Sets the value ofCfnTrustAnchorMixinProps.getTags()- Parameters:
tags- The tags to attach to the trust anchor.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrustAnchorMixinProps>- Returns:
- a new instance of
CfnTrustAnchorMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-