public static final class ArtifactDefinitions.Builder extends java.lang.Object implements SmithyBuilder<ArtifactDefinitions>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ArtifactDefinitions.Builder |
addTag(java.lang.String name,
java.lang.String description)
Adds the tag's key, value pair to the tags map.
|
ArtifactDefinitions.Builder |
addType(java.lang.String name,
java.lang.String description)
Adds the type's key, value pair to the tags map.
|
ArtifactDefinitions |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
ArtifactDefinitions.Builder |
tags(java.util.Map<java.lang.String,java.lang.String> tags) |
ArtifactDefinitions.Builder |
types(java.util.Map<java.lang.String,java.lang.String> types) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public ArtifactDefinitions build()
SmithyBuilder
build
in interface SmithyBuilder<ArtifactDefinitions>
public ArtifactDefinitions.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
public ArtifactDefinitions.Builder types(java.util.Map<java.lang.String,java.lang.String> types)
public ArtifactDefinitions.Builder addTag(java.lang.String name, java.lang.String description)
name
- Name of tag.description
- Description of tag.public ArtifactDefinitions.Builder addType(java.lang.String name, java.lang.String description)
name
- Key of type.description
- Value of type.