public GetSchemaVersionRequest withSchemaId(SchemaId schemaId) {
        setSchemaId(schemaId);
        return this;
    }
<p>
This is a wrapper structure to contain schema identity fields. The structure contains:
</p>
<ul>
<li>
<p>
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either <code>SchemaArn</code> or
<code>SchemaName</code> and <code>RegistryName</code> has to be provided.
</p>
</li>
<li>
<p>
SchemaId$SchemaName: The name of the schema. Either <code>SchemaArn</code> or <code>SchemaName</code> and
<code>RegistryName</code> has to be provided.
</p>
</li>
</ul>

@param schemaId
       This is a wrapper structure to contain schema identity fields. The structure contains:</p>
       <ul>
       <li>
       <p>
       SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. Either <code>SchemaArn</code> or
       <code>SchemaName</code> and <code>RegistryName</code> has to be provided.
       </p>
       </li>
       <li>
       <p>
       SchemaId$SchemaName: The name of the schema. Either <code>SchemaArn</code> or <code>SchemaName</code> and
       <code>RegistryName</code> has to be provided.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/GetSchemaVersionRequest.java