Class CfnDomainPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codeartifact.CfnDomainPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin>
- Enclosing class:
CfnDomainPropsMixin
@Stability(Stable)
public static final class CfnDomainPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainPropsMixin>
A fluent builder for
CfnDomainPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDomainPropsMixin.Buildercreate()static CfnDomainPropsMixin.Buildercreate(CfnPropertyMixinOptions options) domainName(String domainName) A string that specifies the name of the requested domain.encryptionKey(String encryptionKey) The key used to encrypt the domain.permissionsPolicyDocument(Object permissionsPolicyDocument) The document that defines the resource policy that is set on a domain.A list of tags to be applied to the domain.
-
Method Details
-
create
@Stability(Stable) public static CfnDomainPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDomainPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDomainPropsMixin.Builder.
-
domainName
A string that specifies the name of the requested domain.- Parameters:
domainName- A string that specifies the name of the requested domain. This parameter is required.- Returns:
this- See Also:
-
encryptionKey
The key used to encrypt the domain.- Parameters:
encryptionKey- The key used to encrypt the domain. This parameter is required.- Returns:
this- See Also:
-
permissionsPolicyDocument
@Stability(Stable) public CfnDomainPropsMixin.Builder permissionsPolicyDocument(Object permissionsPolicyDocument) The document that defines the resource policy that is set on a domain.- Parameters:
permissionsPolicyDocument- The document that defines the resource policy that is set on a domain. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tags to be applied to the domain.- Parameters:
tags- A list of tags to be applied to the domain. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin>- Returns:
- a newly built instance of
CfnDomainPropsMixin.
-