public java.util.List<Tag> getTags() {
        if (tags == null) {
            tags = new com.amazonaws.internal.SdkInternalList<Tag>();
        }
        return tags;
    }
<p>
The tags that you want to add to the new updated WorkSpace image.
</p>
<note>
<p>
To add tags at the same time when you're creating the updated image, you must create an IAM policy that grants
your IAM user permissions to use <code>workspaces:CreateTags</code>.
</p>
</note>

@return The tags that you want to add to the new updated WorkSpace image.</p> <note>
        <p>
        To add tags at the same time when you're creating the updated image, you must create an IAM policy that
        grants your IAM user permissions to use <code>workspaces:CreateTags</code>.
        </p>
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/CreateUpdatedWorkspaceImageRequest.java