public ListTypeRegistrationsRequest withTypeArn(String typeArn) {
        setTypeArn(typeArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the extension.
</p>
<p>
Conditional: You must specify either <code>TypeName</code> and <code>Type</code>, or <code>Arn</code>.
</p>

@param typeArn
       The Amazon Resource Name (ARN) of the extension.</p>
       <p>
       Conditional: You must specify either <code>TypeName</code> and <code>Type</code>, or <code>Arn</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ListTypeRegistrationsRequest.java