Class ArtifactReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.securityagent.ArtifactReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ArtifactReference>
- Enclosing interface:
ArtifactReference
@Stability(Stable)
public static final class ArtifactReference.Builder
extends Object
implements software.amazon.jsii.Builder<ArtifactReference>
A builder for
ArtifactReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionartifactArn(String artifactArn) Sets the value ofArtifactReference.getArtifactArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactArn
Sets the value ofArtifactReference.getArtifactArn()- Parameters:
artifactArn- The Arn of the Artifact resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ArtifactReference>- Returns:
- a new instance of
ArtifactReference - Throws:
NullPointerException- if any required attribute was not provided
-