Class CfnDomainMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codeartifact.CfnDomainMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainMixinProps>
- Enclosing interface:
CfnDomainMixinProps
@Stability(Stable)
public static final class CfnDomainMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainMixinProps>
A builder for
CfnDomainMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.domainName(String domainName) Sets the value ofCfnDomainMixinProps.getDomainName()encryptionKey(String encryptionKey) Sets the value ofCfnDomainMixinProps.getEncryptionKey()permissionsPolicyDocument(Object permissionsPolicyDocument) Sets the value ofCfnDomainMixinProps.getPermissionsPolicyDocument()Sets the value ofCfnDomainMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
Sets the value ofCfnDomainMixinProps.getDomainName()- Parameters:
domainName- A string that specifies the name of the requested domain.- Returns:
this
-
encryptionKey
Sets the value ofCfnDomainMixinProps.getEncryptionKey()- Parameters:
encryptionKey- The key used to encrypt the domain.- Returns:
this
-
permissionsPolicyDocument
@Stability(Stable) public CfnDomainMixinProps.Builder permissionsPolicyDocument(Object permissionsPolicyDocument) Sets the value ofCfnDomainMixinProps.getPermissionsPolicyDocument()- Parameters:
permissionsPolicyDocument- The document that defines the resource policy that is set on a domain.- Returns:
this
-
tags
Sets the value ofCfnDomainMixinProps.getTags()- Parameters:
tags- A list of tags to be applied to the domain.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainMixinProps>- Returns:
- a new instance of
CfnDomainMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-