Class CodepipelineArtifactStoreEncryptionKey.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.codepipeline.CodepipelineArtifactStoreEncryptionKey.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodepipelineArtifactStoreEncryptionKey>
- Enclosing interface:
- CodepipelineArtifactStoreEncryptionKey
@Stability(Stable) public static final class CodepipelineArtifactStoreEncryptionKey.Builder extends Object implements software.amazon.jsii.Builder<CodepipelineArtifactStoreEncryptionKey>
A builder forCodepipelineArtifactStoreEncryptionKey
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodepipelineArtifactStoreEncryptionKeybuild()Builds the configured instance.CodepipelineArtifactStoreEncryptionKey.Builderid(String id)Sets the value ofCodepipelineArtifactStoreEncryptionKey.getId()CodepipelineArtifactStoreEncryptionKey.Buildertype(String type)Sets the value ofCodepipelineArtifactStoreEncryptionKey.getType()
-
-
-
Method Detail
-
id
@Stability(Stable) public CodepipelineArtifactStoreEncryptionKey.Builder id(String id)
Sets the value ofCodepipelineArtifactStoreEncryptionKey.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/codepipeline#id Codepipeline#id}. This parameter is required. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
type
@Stability(Stable) public CodepipelineArtifactStoreEncryptionKey.Builder type(String type)
Sets the value ofCodepipelineArtifactStoreEncryptionKey.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/codepipeline#type Codepipeline#type}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CodepipelineArtifactStoreEncryptionKey build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodepipelineArtifactStoreEncryptionKey>- Returns:
- a new instance of
CodepipelineArtifactStoreEncryptionKey - Throws:
NullPointerException- if any required attribute was not provided
-
-