public CreateUpdatedImageRequest withNewImageName(String newImageName) {
        setNewImageName(newImageName);
        return this;
    }
<p>
The name of the new image. The name must be unique within the AWS account and Region.
</p>

@param newImageName
       The name of the new image. The name must be unique within the AWS account and Region.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/CreateUpdatedImageRequest.java