Class CfnArtifactMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityagent.CfnArtifactMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnArtifactMixinProps>
- Enclosing interface:
CfnArtifactMixinProps
@Stability(Stable)
public static final class CfnArtifactMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnArtifactMixinProps>
A builder for
CfnArtifactMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) Sets the value ofCfnArtifactMixinProps.getAgentSpaceId()artifactContent(String artifactContent) Sets the value ofCfnArtifactMixinProps.getArtifactContent()artifactType(String artifactType) Sets the value ofCfnArtifactMixinProps.getArtifactType()build()Builds the configured instance.Sets the value ofCfnArtifactMixinProps.getFileName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentSpaceId
Sets the value ofCfnArtifactMixinProps.getAgentSpaceId()- Parameters:
agentSpaceId- The unique identifier of the agent space to add the artifact to.- Returns:
this
-
artifactContent
Sets the value ofCfnArtifactMixinProps.getArtifactContent()- Parameters:
artifactContent- The binary content of the artifact to upload, encoded as a Base64 string.- Returns:
this
-
artifactType
Sets the value ofCfnArtifactMixinProps.getArtifactType()- Parameters:
artifactType- The file type of the artifact.- Returns:
this
-
fileName
Sets the value ofCfnArtifactMixinProps.getFileName()- Parameters:
fileName- The file name of the artifact.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnArtifactMixinProps>- Returns:
- a new instance of
CfnArtifactMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-