public CreateHostResult withHostArn(String hostArn) {
        setHostArn(hostArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the host to be created.
</p>

@param hostArn
       The Amazon Resource Name (ARN) of the host to be created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codestarconnections/src/main/java/com/amazonaws/services/codestarconnections/model/CreateHostResult.java