Class ArtifactDefinitions.Builder
java.lang.Object
software.amazon.smithy.codegen.core.trace.ArtifactDefinitions.Builder
- All Implemented Interfaces:
SmithyBuilder<ArtifactDefinitions>
- Enclosing class:
- ArtifactDefinitions
public static final class ArtifactDefinitions.Builder
extends Object
implements SmithyBuilder<ArtifactDefinitions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds the tag's key, value pair to the tags map.Adds the type's key, value pair to the tags map.build()
Creates an immutable object that is created from the properties that have been set on the builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<ArtifactDefinitions>
- Returns:
- Definitions object from this builder.
-
tags
-
types
-
addTag
Adds the tag's key, value pair to the tags map.- Parameters:
name
- Name of tag.description
- Description of tag.- Returns:
- This builder.
-
addType
Adds the type's key, value pair to the tags map.- Parameters:
name
- Key of type.description
- Value of type.- Returns:
- This builder.
-