Class CfnArtifact.Builder
java.lang.Object
software.amazon.awscdk.services.securityagent.CfnArtifact.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnArtifact>
- Enclosing class:
CfnArtifact
@Stability(Stable)
public static final class CfnArtifact.Builder
extends Object
implements software.amazon.jsii.Builder<CfnArtifact>
A fluent builder for
CfnArtifact.-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the agent space to add the artifact to.artifactContent(String artifactContent) The binary content of the artifact to upload, encoded as a Base64 string.artifactType(String artifactType) The file type of the artifact.build()static CfnArtifact.BuilderThe file name of the artifact.
-
Method Details
-
create
@Stability(Stable) public static CfnArtifact.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnArtifact.Builder.
-
agentSpaceId
The unique identifier of the agent space to add the artifact to.- Parameters:
agentSpaceId- The unique identifier of the agent space to add the artifact to. This parameter is required.- Returns:
this- See Also:
-
artifactType
The file type of the artifact.- Parameters:
artifactType- The file type of the artifact. This parameter is required.- Returns:
this- See Also:
-
fileName
The file name of the artifact.- Parameters:
fileName- The file name of the artifact. This parameter is required.- Returns:
this- See Also:
-
artifactContent
The binary content of the artifact to upload, encoded as a Base64 string.- Parameters:
artifactContent- The binary content of the artifact to upload, encoded as a Base64 string. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnArtifact>- Returns:
- a newly built instance of
CfnArtifact.
-