public ImportComponentRequest withSemanticVersion(String semanticVersion) {
        setSemanticVersion(semanticVersion);
        return this;
    }
<p>
The semantic version of the component. This version follows the semantic version syntax.
</p>
<note>
<p>
The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can assign
values for the first three, and can filter on all of them.
</p>
<p>
<b>Filtering:</b> With semantic versioning, you have the flexibility to use wildcards (x) to specify the most
recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in
any node, all nodes to the right of the first wildcard must also be wildcards.
</p>
</note>

@param semanticVersion
       The semantic version of the component. This version follows the semantic version syntax.</p> <note>
       <p>
       The semantic version has four nodes: &lt;major&gt;.&lt;minor&gt;.&lt;patch&gt;/&lt;build&gt;. You can
       assign values for the first three, and can filter on all of them.
       </p>
       <p>
       <b>Filtering:</b> With semantic versioning, you have the flexibility to use wildcards (x) to specify the
       most recent versions or nodes when selecting the base image or components for your recipe. When you use a
       wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/ImportComponentRequest.java