public ApplySchemaRequest withPublishedSchemaArn(String publishedSchemaArn) {
        setPublishedSchemaArn(publishedSchemaArn);
        return this;
    }
<p>
Published schema Amazon Resource Name (ARN) that needs to be copied. For more information, see <a>arns</a>.
</p>

@param publishedSchemaArn
       Published schema Amazon Resource Name (ARN) that needs to be copied. For more information, see
       <a>arns</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-clouddirectory/src/main/java/com/amazonaws/services/clouddirectory/model/ApplySchemaRequest.java