Class CfnSubscriptionTargetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnSubscriptionTargetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriptionTargetMixinProps>
- Enclosing interface:
CfnSubscriptionTargetMixinProps
@Stability(Stable)
public static final class CfnSubscriptionTargetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriptionTargetMixinProps>
A builder for
CfnSubscriptionTargetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicableAssetTypes(List<String> applicableAssetTypes) Sets the value ofCfnSubscriptionTargetMixinProps.getApplicableAssetTypes()authorizedPrincipals(List<String> authorizedPrincipals) Sets the value ofCfnSubscriptionTargetMixinProps.getAuthorizedPrincipals()build()Builds the configured instance.domainIdentifier(String domainIdentifier) Sets the value ofCfnSubscriptionTargetMixinProps.getDomainIdentifier()environmentIdentifier(String environmentIdentifier) Sets the value ofCfnSubscriptionTargetMixinProps.getEnvironmentIdentifier()manageAccessRole(String manageAccessRole) Sets the value ofCfnSubscriptionTargetMixinProps.getManageAccessRole()Sets the value ofCfnSubscriptionTargetMixinProps.getName()Sets the value ofCfnSubscriptionTargetMixinProps.getProvider()subscriptionTargetConfig(List<? extends Object> subscriptionTargetConfig) Sets the value ofCfnSubscriptionTargetMixinProps.getSubscriptionTargetConfig()subscriptionTargetConfig(IResolvable subscriptionTargetConfig) Sets the value ofCfnSubscriptionTargetMixinProps.getSubscriptionTargetConfig()Sets the value ofCfnSubscriptionTargetMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicableAssetTypes
@Stability(Stable) public CfnSubscriptionTargetMixinProps.Builder applicableAssetTypes(List<String> applicableAssetTypes) Sets the value ofCfnSubscriptionTargetMixinProps.getApplicableAssetTypes()- Parameters:
applicableAssetTypes- The asset types included in the subscription target.- Returns:
this
-
authorizedPrincipals
@Stability(Stable) public CfnSubscriptionTargetMixinProps.Builder authorizedPrincipals(List<String> authorizedPrincipals) Sets the value ofCfnSubscriptionTargetMixinProps.getAuthorizedPrincipals()- Parameters:
authorizedPrincipals- The authorized principals included in the subscription target.- Returns:
this
-
domainIdentifier
@Stability(Stable) public CfnSubscriptionTargetMixinProps.Builder domainIdentifier(String domainIdentifier) Sets the value ofCfnSubscriptionTargetMixinProps.getDomainIdentifier()- Parameters:
domainIdentifier- The ID of the Amazon DataZone domain in which subscription target is created.- Returns:
this
-
environmentIdentifier
@Stability(Stable) public CfnSubscriptionTargetMixinProps.Builder environmentIdentifier(String environmentIdentifier) Sets the value ofCfnSubscriptionTargetMixinProps.getEnvironmentIdentifier()- Parameters:
environmentIdentifier- The ID of the environment in which subscription target is created.- Returns:
this
-
manageAccessRole
@Stability(Stable) public CfnSubscriptionTargetMixinProps.Builder manageAccessRole(String manageAccessRole) Sets the value ofCfnSubscriptionTargetMixinProps.getManageAccessRole()- Parameters:
manageAccessRole- The manage access role that is used to create the subscription target.- Returns:
this
-
name
Sets the value ofCfnSubscriptionTargetMixinProps.getName()- Parameters:
name- The name of the subscription target.- Returns:
this
-
provider
Sets the value ofCfnSubscriptionTargetMixinProps.getProvider()- Parameters:
provider- The provider of the subscription target.- Returns:
this
-
subscriptionTargetConfig
@Stability(Stable) public CfnSubscriptionTargetMixinProps.Builder subscriptionTargetConfig(IResolvable subscriptionTargetConfig) Sets the value ofCfnSubscriptionTargetMixinProps.getSubscriptionTargetConfig()- Parameters:
subscriptionTargetConfig- The configuration of the subscription target.- Returns:
this
-
subscriptionTargetConfig
@Stability(Stable) public CfnSubscriptionTargetMixinProps.Builder subscriptionTargetConfig(List<? extends Object> subscriptionTargetConfig) Sets the value ofCfnSubscriptionTargetMixinProps.getSubscriptionTargetConfig()- Parameters:
subscriptionTargetConfig- The configuration of the subscription target.- Returns:
this
-
type
Sets the value ofCfnSubscriptionTargetMixinProps.getType()- Parameters:
type- The type of the subscription target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriptionTargetMixinProps>- Returns:
- a new instance of
CfnSubscriptionTargetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-